Skip to content

Commit

Permalink
Update test.yml - select swift version
Browse files Browse the repository at this point in the history
  • Loading branch information
tdeleon authored Jan 2, 2024
1 parent f2d0c52 commit 4bc6915
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,12 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- if: runner.os == 'Windows'
name: Setup Swift
uses: compnerd/gha-setup-swift@main
with:
branch: swift-5.9.2-release
tag: 5.9.2-RELEASE

- if: runner.name == 'macos-13'
run: 'sudo xcode-select -s /Applications/Xcode_15.1.app'

- name: Checkout
uses: actions/checkout@v3

- uses: swift-actions/setup-swift@v1
with:
swift-version: "5.9.2"

- name: Build
run: swift build
Expand Down

0 comments on commit 4bc6915

Please sign in to comment.