mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Perform the check using runner.os
This commit is contained in:
2
.github/workflows/__export-file-baseline-information.yml
generated
vendored
2
.github/workflows/__export-file-baseline-information.yml
generated
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/__multi-language-autodetect.yml
generated
vendored
2
.github/workflows/__multi-language-autodetect.yml
generated
vendored
@@ -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'
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user