Skip to content

Commit

Permalink
Switch from removed macos-11 runners to macos-latest with Xcode 16.1
Browse files Browse the repository at this point in the history
The `macos-11` runners are no longer hosted by GitHub as this OS version
is too old.  Likewise Xcode 13.2.1 is no longer available, the lowest
supported version appears to be `15.0`.
  • Loading branch information
MarijnS95 committed Jan 6, 2025
1 parent 589ed5a commit 417edd2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,25 @@ jobs:
TAG: ${{ github.event.release.tag_name }}

macos:
runs-on: macos-11
runs-on: macos-latest
steps:
- run: ls /Applications/Xcode*
- run: cp -R $SDK_PATH .
env:
SDK_PATH: /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
SDK_PATH: /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
- run: gtar --zstd -cf MacOSX.sdk.tar.zst MacOSX.sdk
- run: gh release upload $TAG MacOSX.sdk.tar.zst -R ${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ github.event.release.tag_name }}

ios:
runs-on: macos-11
runs-on: macos-latest
steps:
- run: ls /Applications/Xcode*
- run: cp -R $SDK_PATH .
env:
SDK_PATH: /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
SDK_PATH: /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
- run: gtar --zstd -cf iPhoneOS.sdk.tar.zst iPhoneOS.sdk
- run: gh release upload $TAG iPhoneOS.sdk.tar.zst -R ${{ github.repository }}
env:
Expand Down

0 comments on commit 417edd2

Please sign in to comment.