Merge pull request #282 from bhackel/fix-build

Only download specific SDK
This commit is contained in:
arichornlover 2024-01-09 19:59:38 -06:00 committed by GitHub
commit 2828785564
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,8 +87,11 @@ jobs:
- name: Download iOS SDK
if: steps.SDK.outputs.cache-hit != 'true'
run: |
git clone --quiet https://github.com/arichorn/sdks.git
mv sdks/iPhoneOS${{ inputs.sdk_version }}.sdk $THEOS/sdks
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