Skip to content

Commit 30b72ad

Browse files
authored
GitHub Actions: Detect operating system with runner.os
1 parent a911ab2 commit 30b72ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
npm install
129129
pip install pytest
130130
- name: Set Windows Env
131-
if: startsWith(matrix.os, 'windows')
131+
if: runner.os == 'Windows'
132132
run: |
133133
echo 'GYP_MSVS_VERSION=2015' >> $Env:GITHUB_ENV
134134
echo 'GYP_MSVS_OVERRIDE_PATH=C:\\Dummy' >> $Env:GITHUB_ENV

0 commit comments

Comments
 (0)