Skip to content

Commit 0f884af

Browse files
committed
Use compnerd's GHA for Windows
1 parent b4b143f commit 0f884af

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,12 @@ jobs:
4141
test-windows:
4242
runs-on: windows-latest
4343
steps:
44+
- uses: compnerd/gha-setup-swift@main
45+
with:
46+
swift-version: swift-6.2-release
47+
swift-build: 6.2.3-RELEASE
4448
- name: Check out
4549
uses: actions/checkout@v2
46-
- name: Install Swift
47-
run: |
48-
curl -L -o swift.exe https://download.swift.org/swift-6.2-release/windows10/swift-6.2-RELEASE/swift-6.2-RELEASE-windows10.exe
49-
Start-Process -Wait -FilePath .\swift.exe -ArgumentList '/install', '/quiet'
50-
Add-Content $env:GITHUB_PATH "C:\Program Files\Swift\bin"
51-
shell: pwsh
5250
- name: Run tests
5351
run: swift test -c release
5452
test-embedded:

0 commit comments

Comments
 (0)