Skip to content

Commit

Permalink
Fix SDK Compiling
Browse files Browse the repository at this point in the history
Also improved the SDK compiling to let you compile any SDK version!
  • Loading branch information
arichornlover authored Mar 10, 2024
1 parent b19be57 commit 6d593b4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/buildapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ name: Build and Release YTMusicUltimate IPA
on:
workflow_dispatch:
inputs:
sdk_version:
description: "iOS SDK version to be used during build"
default: "16.2"
required: true
type: string
ytmusicultimate_version:
description: "The version of YTMusicUltimate"
default: "2.0.1"
Expand Down Expand Up @@ -75,10 +80,13 @@ jobs:
path: theos/sdks/
key: ${{ env.cache-name }}

- name: Download iOS 16.2 SDK
- name: Download iOS SDK
if: steps.SDK.outputs.cache-hit != 'true'
run: |
svn checkout -q https://github.com/arichorn/sdks/trunk/iPhoneOS16.2.sdk
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/arichorn/sdks/
cd sdks
git sparse-checkout set --no-cone iPhoneOS${{ inputs.sdk_version }}.sdk
git checkout
mv *.sdk $THEOS/sdks
env:
THEOS: ${{ github.workspace }}/theos
Expand Down

0 comments on commit 6d593b4

Please sign in to comment.