Skip to content

Commit

Permalink
GitHub Actions: Detect operating system with runner.os
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Feb 1, 2025
1 parent a911ab2 commit 30b72ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
npm install
pip install pytest
- name: Set Windows Env
if: startsWith(matrix.os, 'windows')
if: runner.os == 'Windows'
run: |
echo 'GYP_MSVS_VERSION=2015' >> $Env:GITHUB_ENV
echo 'GYP_MSVS_OVERRIDE_PATH=C:\\Dummy' >> $Env:GITHUB_ENV
Expand Down

0 comments on commit 30b72ad

Please sign in to comment.