From d90ca192402abdcf913095d3d6e97c3a8eaa7fac Mon Sep 17 00:00:00 2001 From: blam Date: Fri, 16 Jun 2023 13:56:04 +0200 Subject: [PATCH] chore: try some tips from the gyp repo Signed-off-by: blam --- .github/workflows/verify_e2e-windows.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/verify_e2e-windows.yml b/.github/workflows/verify_e2e-windows.yml index 82b599ccec..5df1c1dbaf 100644 --- a/.github/workflows/verify_e2e-windows.yml +++ b/.github/workflows/verify_e2e-windows.yml @@ -57,7 +57,12 @@ jobs: - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v1.3.1 - - name: Patch node-gyp to support Visual Studio 2022 + - name: Setup gyp env + run: | + echo 'GYP_MSVS_VERSION=2022' >> $Env:GITHUB_ENV + echo 'GYP_MSVS_OVERRIDE_PATH=C:\\Dummy' >> $Env:GITHUB_ENV + + - name: Install latest gyp and set node-gyp path shell: powershell run: | npm install --global node-gyp@latest