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 3b2c2c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
- 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 3b2c2c9

Please sign in to comment.