From 3f74a74d6599ac5dd629b0d2625efe7bb6097334 Mon Sep 17 00:00:00 2001 From: Boof2015 <75185879+Boof2015@users.noreply.github.com> Date: Mon, 1 Jun 2026 18:50:51 -0400 Subject: [PATCH] fix another ci error --- .github/workflows/release.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e182580..c5c832f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,10 @@ jobs: dist_cmd: dist:mac - os: ubuntu-latest dist_cmd: dist:linux - - os: windows-latest + # Pinned to windows-2022 because windows-latest now ships VS 2026 + # (internal version 18), which the @electron/node-gyp version in our + # lockfile rejects as "unsupported". 2022 has VS 2022 only, no ambiguity. + - os: windows-2022 dist_cmd: dist:win steps: @@ -50,13 +53,6 @@ jobs: sudo apt-get install -y libpulse-dev - name: Build native DSP module - env: - # node-gyp's Visual Studio auto-detect shells out a PowerShell script - # whose output overflows its internal stdout buffer on windows-latest - # (RangeError ERR_CHILD_PROCESS_STDIO_MAXBUFFER → "Could not find any - # Visual Studio installation"). Telling it the version directly skips - # the broken enumeration. Harmless on macOS / Linux. - GYP_MSVS_VERSION: 2022 run: npm run rebuild:native - name: Verify native module exists