Skip to content

Commit

Permalink
Explicitly select Xcode 15 in GitHub build script
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsaidi committed Jan 12, 2024
1 parent b7b139c commit f701774
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf
with:
swift-version: "5.8"
- name: List Xcode installations
run: sudo ls -1 /Applications | grep "Xcode"
- name: Select Xcode 15.1
run: sudo xcode-select -s /Applications/Xcode_15.1.app/Contents/Developer
- name: Build
run: swift build -v
- name: Run tests
Expand Down

0 comments on commit f701774

Please sign in to comment.