Skip to content

Commit d88cf24

Browse files
authored
Update Xcode instead
1 parent 3ee43d7 commit d88cf24

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/swift.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Build Package for all Platforms
22

3+
name: Build Swift Package
4+
35
on:
46
push:
57
branches:
@@ -24,10 +26,11 @@ jobs:
2426
- name: Checkout Repository
2527
uses: actions/checkout@v4
2628

27-
- name: Install Swift 6
29+
- name: Select Latest Xcode 16
2830
run: |
29-
brew install swift
30-
echo "$(brew --prefix swift)/bin" >> $GITHUB_PATH
31+
sudo xcode-select -s /Applications/Xcode_16.app/Contents/Developer || \
32+
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
33+
xcodebuild -version
3134
swift --version
3235
3336
- name: Build Swift Package

0 commit comments

Comments
 (0)