Skip to content

Commit

Permalink
Sync buildapp.yml
Browse files Browse the repository at this point in the history
Synchronized buildapp.yml from the original uYouEnhanced.
  • Loading branch information
aricloverEXALT authored Nov 25, 2024
1 parent 415f50d commit fc74096
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/buildapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
inputs:
sdk_version:
description: "iOS SDK Version"
default: "16.5"
default: "17.5"
required: true
type: string
uyou_version:
Expand Down Expand Up @@ -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 }}
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit fc74096

Please sign in to comment.