From ed774a666b3557d5d39455b936f148a3b4da7840 Mon Sep 17 00:00:00 2001 From: Samuel K Date: Sun, 17 May 2026 17:36:24 -0500 Subject: [PATCH] fix(ci): pin desktop Windows build to windows-2022 for node-gyp VS compat --- .github/workflows/release.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ffadef17e..1cc5c2343 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,7 @@ jobs: go-os: darwin go-arch: universal builder-args: --mac - - os: windows-latest + - os: windows-2022 go-os: windows go-arch: amd64 builder-args: --win @@ -145,10 +145,7 @@ jobs: - name: configure Windows build tools if: runner.os == 'Windows' shell: pwsh - run: | - echo "GYP_MSVS_VERSION=2022" >> $env:GITHUB_ENV - $vsPath = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath - echo "GYP_MSVS_OVERRIDE_PATH=$vsPath" >> $env:GITHUB_ENV + run: echo "GYP_MSVS_VERSION=2022" >> $env:GITHUB_ENV - uses: actions/setup-python@v6 with: