10000 try workaround · vscode-arduino/vscode-arduino@9eb6ef3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9eb6ef3

Browse files
try workaround
1 parent be25539 commit 9eb6ef3

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,25 @@ jobs:
3030
# Node needs to be installed before OS-specific setup so that we can run
3131
# the hash verification script.
3232
- name: Use Node 18.x
33+
if: ${{ matrix.os != 'windows-latest' }}
3334
uses: actions/setup-node@v2
3435
with:
3536
node-version: 18.x
3637

38+
- name: Install Node
39+
if: ${{ matrix.os == 'windows-latest' }}
40+
run: |
41+
winget install Schniz.fnm
42+
fnm env --use-on-cd | Out-String | Invoke-Expression
43+
fnm use --install-if-missing 18
44+
3745
# On new macos-latest machines, Python 3.9+ is used, and it's causing issues with binding.gyp
3846
- name: Use Python 3.8
3947
if: ${{ matrix.os == 'macos-latest' }}
4048
uses: actions/setup-python@v5
4149
with:
4250
python-version: 3.8
4351

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

0 commit comments

Comments
 (0)
0