diff options
| author | haoyuren <13851610112@163.com> | 2026-07-30 10:29:24 +0800 |
|---|---|---|
| committer | haoyuren <13851610112@163.com> | 2026-07-30 10:29:24 +0800 |
| commit | 429d737f940a52ca4124f13f5911e6759d4b63bb (patch) | |
| tree | 99f8e5bac0ee977ef798f421bb8d339b9755cf1c /.github/workflows | |
| parent | 6026c4191cfdaadd379565cfc064158d619f2fbc (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/release-windows.yml | 9 |
1 files changed, 8 insertions, 1 deletions
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 |
