Skip to content

Commit 407c88b

Browse files
committed
Switch from removed macos-11 runners to macos-latest with Xcode 16.1
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`.
1 parent 589ed5a commit 407c88b

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/sdk.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
on:
2-
release:
3-
types:
4-
- created
2+
push:
3+
# release:
4+
# types:
5+
# - created
56

67
name: sdk
78

@@ -30,25 +31,25 @@ jobs:
3031
TAG: ${{ github.event.release.tag_name }}
3132

3233
macos:
33-
runs-on: macos-11
34+
runs-on: macos-latest
3435
steps:
3536
- run: ls /Applications/Xcode*
3637
- run: cp -R $SDK_PATH .
3738
env:
38-
SDK_PATH: /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
39+
SDK_PATH: /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
3940
- run: gtar --zstd -cf MacOSX.sdk.tar.zst MacOSX.sdk
4041
- run: gh release upload $TAG MacOSX.sdk.tar.zst -R ${{ github.repository }}
4142
env:
4243
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4344
TAG: ${{ github.event.release.tag_name }}
4445

4546
ios:
46-
runs-on: macos-11
47+
runs-on: macos-latest
4748
steps:
4849
- run: ls /Applications/Xcode*
4950
- run: cp -R $SDK_PATH .
5051
env:
51-
SDK_PATH: /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
52+
SDK_PATH: /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
5253
- run: gtar --zstd -cf iPhoneOS.sdk.tar.zst iPhoneOS.sdk
5354
- run: gh release upload $TAG iPhoneOS.sdk.tar.zst -R ${{ github.repository }}
5455
env:

0 commit comments

Comments
 (0)