Skip to content

Commit

Permalink
try xcode-select
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikBucher12 committed Jan 12, 2024
1 parent 295831e commit d0a7f1e
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,13 @@ on:

jobs:
build:
runs-on: macos-latest
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf
with:
swift-version: "5.8"
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.0-beta'
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
- 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
run: swift test -v

0 comments on commit d0a7f1e

Please sign in to comment.