Skip to content

fix: use pwsh + object notation for Windows signCommand#40

Merged
ibetitsmike merged 1 commit intomainfrom
mike/fix-windows-signcommand
Mar 4, 2026
Merged

fix: use pwsh + object notation for Windows signCommand#40
ibetitsmike merged 1 commit intomainfrom
mike/fix-windows-signcommand

Conversation

@ibetitsmike
Copy link
Collaborator

Fixes the failed to run powershell error during Windows release builds.

Root cause: The Tauri bundler couldn't spawn powershell on recent windows-latest GitHub Actions runners, and string-notation signCommand has known issues with %1 replacement (tauri-apps/tauri#11754).

Fix:

  • Switch from powershell to pwsh (PowerShell 7+, already used by the setup action)
  • Switch from string notation to object notation (cmd + args) for reliable argument passing

Files changed:

  • .github/workflows/release.yml — object-notation signCommand with pwsh
  • scripts/sign-windows.ps1 — updated comment

@ibetitsmike ibetitsmike merged commit 4db7c93 into main Mar 4, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant