From 429d737f940a52ca4124f13f5911e6759d4b63bb Mon Sep 17 00:00:00 2001 From: haoyuren <13851610112@163.com> Date: Thu, 30 Jul 2026 10:29:24 +0800 Subject: Pin Windows CI to windows-2022 image windows-latest moved to Visual Studio 2026 in June 2026; node-gyp cannot detect VS2026 yet (fails on v9, hangs on v11). Also add a 25-minute job timeout and electron-builder debug output. Co-Authored-By: Claude Fable 5 --- .github/workflows/release-windows.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml index 3c0ee00..02d3071 100644 --- a/.github/workflows/release-windows.yml +++ b/.github/workflows/release-windows.yml @@ -14,7 +14,14 @@ permissions: jobs: windows: - runs-on: windows-latest + # windows-latest ships Visual Studio 2026 since 2026-06, which node-gyp + # cannot detect yet (nodejs/node-gyp#3250) — pin to the VS2022 image. + runs-on: windows-2022 + # Native rebuild + packaging normally takes <10 min — fail fast on hangs + timeout-minutes: 25 + env: + DEBUG: electron-builder + npm_config_loglevel: info steps: - uses: actions/checkout@v4 -- cgit v1.2.3