Skip to content

Commit c49c05b

Browse files
committed
Perform the check using runner.os
1 parent 2ccaddd commit c49c05b

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/__export-file-baseline-information.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__multi-language-autodetect.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-checks/checks/export-file-baseline-information.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: "Tests that file baseline information is exported when the feature
33
versions: ["nightly-latest"]
44
steps:
55
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
6-
if: "!startsWith(matrix.os, 'windows')"
6+
if: runner.os != 'Windows'
77
with:
88
swift-version: "5.7"
99
- uses: ./../action/init

pr-checks/checks/multi-language-autodetect.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ env:
55
CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT: "true" # Remove when Swift is GA.
66
steps:
77
- uses: swift-actions/setup-swift@5cdaa9161ad1f55ae39a5ea1784ef96de72f95d9
8-
if: "!startsWith(matrix.os, 'windows')"
8+
if: runner.os != 'Windows'
99
with:
1010
swift-version: "5.7"
1111

0 commit comments

Comments
 (0)