8000 try fix windows · vscode-arduino/vscode-arduino@be25539 · GitHub
[go: up one dir, main page]

Skip to content

Commit be25539

Browse files
try fix windows
1 parent cfe828f commit be25539

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ jobs:
4141
with:
4242
python-version: 3.8
4343

44+
- name: Install Windows Tools
45+
if: ${{ matrix.os == 'windows-latest' }}
46+
run: npm install -g windows-build-tools
47+
4448
- name: Windows setup
4549
if: ${{ matrix.os == 'windows-latest' }}
4650
run: |

build/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
displayName: Use Node 18.x
3131
inputs:
3232
versionSpec: 18.x
33+
- script: npm install -g windows-build-tools
34+
displayName: Install Windows build tools
3335
- ${{ if parameters.prerelease }}:
3436
- pwsh: node -e "p=require('./package.json');p.version=p.version.replace(/\.\d+$/,'.'+$(Build.BuildNumber));require('fs').writeFileSync('./package.json',JSON.stringify(p,undefined,2))"
3537
- script: npm install --global gulp node-gyp @vscode/vsce

0 commit comments

Comments
 (0)
0