From 1c4e91b50f1606785b62b9f48f77994e7b36a105 Mon Sep 17 00:00:00 2001 From: JoelTrain Date: Wed, 24 Aug 2022 11:32:58 -0500 Subject: [PATCH] set the msvs version --- .github/workflows/build-for-windows.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-for-windows.yml b/.github/workflows/build-for-windows.yml index da7cdf5816..33a64b48b8 100644 --- a/.github/workflows/build-for-windows.yml +++ b/.github/workflows/build-for-windows.yml @@ -33,14 +33,16 @@ jobs: npm install --global yarn yarn --version - + - name: Set MSVC version + run: npm config set msvs_version 2022 + - name: Update node-gyp run: | $WhereNode = Get-Command node | Select-Object -ExpandProperty Definition $NodeDirPath = Split-Path $WhereNode -Parent $NodeModulesPath = $NodeDirPath + "\node_modules\npm\node_modules\npm-lifecycle" cd $NodeModulesPath - npm install node-gyp@8.x + npm install node-gyp@8.x # install GNU make - name: Install gnu make using choclatey