forked from qnblackcat/uYouPlus
-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Synchronized buildapp.yml from the original uYouEnhanced.
- Loading branch information
1 parent
415f50d
commit fc74096
Showing
1 changed file
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
inputs: | ||
sdk_version: | ||
description: "iOS SDK Version" | ||
default: "16.5" | ||
default: "17.5" | ||
required: true | ||
type: string | ||
uyou_version: | ||
|
@@ -60,7 +60,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout Main | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: main | ||
ref: ${{ github.event.inputs.commit_id || github.ref }} | ||
|
@@ -73,16 +73,16 @@ jobs: | |
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH | ||
|
||
- name: Setup Theos | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
repository: theos/theos | ||
ref: 5bfdc3cb7133ec1cab43182115d902e2b57c9eac | ||
ref: master | ||
path: theos | ||
submodules: recursive | ||
|
||
- name: SDK Caching | ||
id: SDK | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
env: | ||
cache-name: iOS-${{ inputs.sdk_version }}-SDK | ||
with: | ||
|
@@ -93,7 +93,7 @@ jobs: | |
- name: Download iOS SDK | ||
if: steps.SDK.outputs.cache-hit != 'true' | ||
run: | | ||
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/theos/sdks/ | ||
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/aricloverALT/sdks/ | ||
cd sdks | ||
git sparse-checkout set --no-cone iPhoneOS${{ inputs.sdk_version }}.sdk | ||
git checkout | ||
|
@@ -102,7 +102,7 @@ jobs: | |
THEOS: ${{ github.workspace }}/theos | ||
|
||
- name: Setup Theos Jailed | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
repository: qnblackcat/theos-jailed | ||
ref: master | ||
|
@@ -115,10 +115,16 @@ jobs: | |
env: | ||
THEOS: ${{ github.workspace }}/theos | ||
|
||
- name: Hash YT ipa url | ||
run: | | ||
URL_YT="$(jq -r '.inputs.decrypted_youtube_url' $GITHUB_EVENT_PATH)" | ||
echo ::add-mask::$URL_YT | ||
echo URL_YT=$URL_YT >> $GITHUB_ENV | ||
- name: Prepare YouTube iPA | ||
id: prepare_youtube | ||
run: | | ||
wget "$YOUTUBE_URL" --no-verbose -O main/YouTube.ipa | ||
wget "$YOUTUBE_URL" --quiet --no-verbose -O main/YouTube.ipa | ||
cd ${{ github.workspace }}/main | ||
mv YouTube.ipa YouTube.zip | ||
unzip -q YouTube.zip | ||
|
@@ -129,7 +135,7 @@ jobs: | |
env: | ||
THEOS: ${{ github.workspace }}/theos | ||
YOUTUBE_URL: ${{ inputs.decrypted_youtube_url }} | ||
YOUTUBE_URL: ${{ env.URL_YT }} | ||
|
||
- name: Fix compiling & Build Package | ||
id: build_package | ||
|
@@ -163,7 +169,7 @@ jobs: | |
- name: Create Release | ||
if: ${{ inputs.create_release }} | ||
id: create_release | ||
uses: softprops/action-gh-release@v2.0.8 | ||
uses: softprops/action-gh-release@v2.1.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
UYOU_VERSION: ${{ inputs.uyou_version }} | ||
|