fix(ci): build and verify the Windows installer

The Windows job previously stopped at mocked packaging orchestration, so invalid electron-builder configuration went undetected. Run the real dist:win entrypoint, place the notice file under the NSIS config, and exercise native volume and junction behavior on Windows.
This commit is contained in:
Qiuner
2026-08-16 21:35:50 +08:00
parent 51579f0549
commit a5dd0d93fd
5 changed files with 18 additions and 7 deletions
+3 -3
View File
@@ -38,8 +38,8 @@ jobs:
- run: yarn install --immutable
- run: yarn check
# Windows-only logic on a real Windows runner: packaging tests, updates,
# window options, pwsh sandbox, and volume diagnostics.
# Windows-only logic and an unsigned NSIS build on a real Windows runner:
# updates, window options, pwsh sandbox, volume diagnostics, and packaging.
desktop-windows:
runs-on: windows-latest
steps:
@@ -59,7 +59,7 @@ jobs:
path: ${{ steps.yarn-cache.outputs.dir }}
key: yarn-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- run: yarn install --immutable
- run: yarn workspace dsh-plugin-desktop check:win-package
- run: yarn workspace dsh-plugin-desktop dist:win
# Upstream toolchain smoke: the portable-shell scripts must resolve the
# pinned submodule's own Yarn/pnpm release on Windows.