Skip to content

Commit a085b83

Browse files
Fix GitHub Action: Use macOS 13 with Xcode 15.2 (Swift 5.9)
Swift 5.5 toolchain is incompatible with macOS 15.5 SDK on macos-latest. Using macos-13 with Xcode 15.2 provides Swift 5.9.2 which is compatible with our Swift 5.5+ codebase and the available SDK.
1 parent b50e625 commit a085b83

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build-release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,17 @@ on:
1414
jobs:
1515
build:
1616
name: Build munkipkg
17-
runs-on: macos-latest
17+
runs-on: macos-13
1818

1919
steps:
2020
- name: Checkout code
2121
uses: actions/checkout@v4
2222

23-
- name: Setup Swift
24-
uses: swift-actions/setup-swift@v2
25-
with:
26-
swift-version: '5.5'
23+
- name: Select Xcode 15.2 (Swift 5.9.2)
24+
run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
25+
26+
- name: Verify Swift version
27+
run: swift --version
2728

2829
- name: Build release binary
2930
run: |

0 commit comments

Comments
 (0)