Skip to content

Commit f2519b7

Browse files
Fix the python path in windows pipeline
1 parent a42639e commit f2519b7

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/build-windows.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,15 @@ jobs:
3636
run: |
3737
python -m pip install --upgrade pip setuptools wheel
3838
39-
- name: Configure npm to use Python
39+
- name: Set node-gyp Python path
4040
run: |
41-
npm config set python python
41+
echo "npm_config_python=$env:pythonLocation\python.exe" >> $env:GITHUB_ENV
4242
4343
- name: Setup Node.js
4444
uses: actions/setup-node@v4
4545
with:
4646
node-version: '18.18.0'
4747

48-
- name: Install dependencies
49-
run: |
50-
source venv-gyp/bin/activate
51-
npm install --legacy-peer-deps
52-
5348
- name: Install Bonjour SDK
5449
run: |
5550
# Download and install Bonjour SDK

0 commit comments

Comments
 (0)