Skip to content

Commit

Permalink
Try using batch
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 committed Jul 31, 2023
1 parent 621abaf commit 5f376a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/node-gyp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ jobs:
npm test
- name: Run tests (Windows)
if: runner.os == 'Windows'
shell: pwsh
shell: cmd
run: |
$env:NODE_GYP_FORCE_PYTHON = "${env:pythonLocation}"
Write-Output "Python is at ${env:NODE_GYP_FORCE_PYTHON}"
set NODE_GYP_FORCE_PYTHON=%pythonLocation%
echo Python is at %NODE_GYP_FORCE_PYTHON%
cd node-gyp
npm test
npm run test

0 comments on commit 5f376a5

Please sign in to comment.