Perform the check using runner.os

This commit is contained in:
Henry Mercer 2022-11-22 20:41:32 +00:00
parent 2ccaddd459
commit c49c05b5df
4 changed files with 4 additions and 4 deletions

View file

@ -43,7 +43,7 @@ jobs:
with:
version: ${{ matrix.version }}
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
if: "!startsWith(matrix.os, 'windows')"
if: runner.os != 'Windows'
with:
swift-version: '5.7'
- uses: ./../action/init

View file

@ -66,7 +66,7 @@ jobs:
with:
go-version: ^1.13.1
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
if: "!startsWith(matrix.os, 'windows')"
if: runner.os != 'Windows'
with:
swift-version: '5.7'

View file

@ -3,7 +3,7 @@ description: "Tests that file baseline information is exported when the feature
versions: ["nightly-latest"]
steps:
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
if: "!startsWith(matrix.os, 'windows')"
if: runner.os != 'Windows'
with:
swift-version: "5.7"
- uses: ./../action/init

View file

@ -5,7 +5,7 @@ env:
CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT: "true" # Remove when Swift is GA.
steps:
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
if: "!startsWith(matrix.os, 'windows')"
if: runner.os != 'Windows'
with:
swift-version: "5.7"