Skip to content

Commit

Permalink
Update run_tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gregcotten committed Mar 1, 2024
1 parent e2ee3f2 commit 96686ec
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,9 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ needs.swift-format.outputs.commitSHA }}
- name: Install Swift ${{ matrix.swift-version }} on macOS/Linux
if: ${{ runner.os != 'Windows' }}
uses: swift-actions/setup-swift@v1
- uses: SwiftyLab/setup-swift@latest
with:
swift-version: ${{ matrix.swift-version }}
- name: Install Swift ${{ matrix.swift-version }} on Windows
if: ${{ runner.os == 'Windows' }}
run: |
Install-Binary -Url "https://download.swift.org/swift-${{ matrix.swift-version }}-release/windows10/swift-${{ matrix.swift-version }}-RELEASE/swift-${{ matrix.swift-version }}-RELEASE-windows10.exe" -Name "installer.exe" -ArgumentList ("-q")
Add-Content $env:GITHUB_PATH "C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin"
Add-Content $env:GITHUB_PATH "C:\Program Files\swift\runtime-development\usr\bin"
Add-Content $env:GITHUB_PATH "C:\Program Files\swift\icu-69.1\usr\bin"
Add-Content $env:GITHUB_ENV "SDKROOT=C:\Library\Developer\Platforms\Windows.platform\Developer\SDKs\Windows.sdk"
Add-Content $env:GITHUB_ENV "DEVELOPER_DIR=C:\Library\Developer"
- name: Enable MS Developer Command Prompt
if: ${{ runner.os == 'Windows' }}
uses: ilammy/msvc-dev-cmd@v1
- name: Install Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 96686ec

Please sign in to comment.