Skip to content

Commit

Permalink
Fix macOS CI to use .zip for sdk download
Browse files Browse the repository at this point in the history
SDK 1.9.3+ are .zip files for macOS with a "PlaydateSDK.pkg" file inside
of them.
  • Loading branch information
lilyinstarlight committed Apr 9, 2022
1 parent 81b532c commit 2a66644
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ jobs:
- name: install SDK (macos)
if: ${{ matrix.os == 'macos-latest' }}
run: |
curl -L --silent --show-error --fail "https://download.panic.com/playdate_sdk/PlaydateSDK-${{ matrix.sdk }}.pkg" -o sdk.pkg
sudo installer -store -pkg "sdk.pkg" -target /
curl -L --silent --show-error --fail "https://download.panic.com/playdate_sdk/PlaydateSDK-${{ matrix.sdk }}.zip" -o sdk.zip
unzip sdk.zip
sudo installer -store -pkg "PlaydateSDK.pkg" -target /
cat ~/.Playdate/config
- name: install SDK (linux)
Expand Down

0 comments on commit 2a66644

Please sign in to comment.