You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): resolve macOS cargo check and Windows release build failures
- Always provide hwnd field in PlatformConfig (None on non-Windows) to
fix missing field error on macOS cargo check
- Export RUSTUP_TOOLCHAIN and prepend ~/.cargo/bin to PATH in Windows CI
setup to ensure nightly toolchain takes precedence over chocolatey
- Add explicit frontend build step in Windows release job to avoid
beforeBuildCommand relative path resolution issues
- Use structured { cmd, args } signCommand format to handle spaces in
signtool.exe path
- Update docs/builds.md to reflect CI pipeline changes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/builds.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -442,7 +442,7 @@ The signing flow:
442
442
1. Install Windows SDK (provides `signtool.exe`)
443
443
2. Generate a `CodeSigningCert` with subject `CN=MT`
444
444
3. Export to PFX with password from `WINDOWS_CERT_PASSWORD` secret
445
-
4. Tauri calls `signtool sign` via `bundle.windows.signCommand` (passed as a `--config` override)
445
+
4. Tauri calls `signtool.exe` via `bundle.windows.signCommand`using structured `{ cmd, args }` format to handle spaces in the signtool path (passed as a `--config` override that also disables `beforeBuildCommand`)
446
446
5. Both the application binary and NSIS installer are signed
447
447
6. DigiCert timestamp server ensures signatures remain valid after cert expiry
448
448
@@ -515,13 +515,14 @@ Runs on `ubuntu-latest`:
515
515
516
516
Runs on a self-hosted `[self-hosted, Windows, X64]` runner:
517
517
518
-
1. Sets up the Tauri build environment (Chocolatey installs cmake)
518
+
1. Sets up the Tauri build environment (Chocolatey installs cmake and rustup; `RUSTUP_TOOLCHAIN=nightly-2026-02-09` is exported to `GITHUB_ENV` and `~/.cargo/bin` is prepended to `GITHUB_PATH` to ensure the nightly toolchain takes precedence)
519
519
2. Installs Windows SDK for `signtool.exe`
520
520
3. Generates a self-signed `CodeSigningCert` and exports to PFX
521
-
4. Writes a config override with `bundle.windows.signCommand` pointing to signtool
522
-
5. Builds with `tauri-action` which calls the sign command for both the binary and NSIS installer
523
-
6. Attaches the signed `.exe` to the same draft GitHub Release
524
-
7. Cleans up the certificate and config override (runs in `always()` step)
521
+
4. Builds the frontend explicitly (`npm run build` in `app/frontend/`)
522
+
5. Writes a config override that disables `beforeBuildCommand` (frontend already built) and sets `bundle.windows.signCommand` using structured `{ cmd, args }` format (handles spaces in `signtool.exe` path)
523
+
6. Builds with `tauri-action` which calls the sign command for both the binary and NSIS installer
524
+
7. Attaches the signed `.exe` to the same draft GitHub Release
525
+
8. Cleans up the certificate and config override (runs in `always()` step)
0 commit comments