Only download specific SDK

This commit is contained in:
Bryce Hackel 2024-01-09 13:51:02 -08:00
parent 4c2f45db01
commit 7959f3d780
No known key found for this signature in database
GPG key ID: F031960F08455E88

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