From 6d593b423cb3c1a3a575085e2129cefece1dff99 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Sun, 10 Mar 2024 18:18:32 -0500 Subject: [PATCH] Fix SDK Compiling Also improved the SDK compiling to let you compile any SDK version! --- .github/workflows/buildapp.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildapp.yml b/.github/workflows/buildapp.yml index a0a1ac0f..dfc11cc4 100644 --- a/.github/workflows/buildapp.yml +++ b/.github/workflows/buildapp.yml @@ -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" @@ -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