Skip to content

fix(ci): use sign-binaries: true in main-build.yml#1094

Merged
cjpais merged 1 commit intocjpais:mainfrom
VirenMohindra:vm/fix-ci-sign-binaries
Mar 19, 2026
Merged

fix(ci): use sign-binaries: true in main-build.yml#1094
cjpais merged 1 commit intocjpais:mainfrom
VirenMohindra:vm/fix-ci-sign-binaries

Conversation

@VirenMohindra
Copy link
Copy Markdown
Contributor

Before Submitting This PR

  • I have searched existing issues and pull requests to ensure this isn't a duplicate
  • I have read CONTRIBUTING.md

Human Written Description

All 7 platform builds in the new main-build.yml were failing. The cause: sign-binaries: false passes empty strings for TAURI_SIGNING_PRIVATE_KEY and APPLE_CERTIFICATE as env vars. Tauri treats a set-but-empty env var as a signing attempt and immediately fails trying to decode/import the key. On macOS: failed to import keychain certificate. On Linux: failed to decode secret key: Missing comment in secret key. Windows ARM64 failed for the same reason on top of a separate missing bundler issue.

This code path was never exercised before — pr-test-build.yml always uses sign-binaries: true. Fix is to match that behavior. Secrets are already configured in the repo and signed artifacts are actually installable for testing, which is the point.

Related Issues/Discussions

Follow-up to #1092 (which itself followed #1091)

Testing

  • push to main triggers Main Branch Build and all platform jobs complete without signing failures

AI Assistance

  • AI was used

  • Tools used: Claude Code

  • How extensively: diagnosed from CI logs, wrote the one-line fix

sign-binaries: false passes empty strings for TAURI_SIGNING_PRIVATE_KEY
and APPLE_CERTIFICATE, but Tauri treats a set-but-empty env var as a
signing attempt, causing all builds to fail. Use sign-binaries: true to
match pr-test-build.yml — secrets are already configured in the repo.
@cjpais cjpais merged commit cd3ec3a into cjpais:main Mar 19, 2026
2 checks passed
@VirenMohindra VirenMohindra deleted the vm/fix-ci-sign-binaries branch March 19, 2026 07:18
@VirenMohindra VirenMohindra restored the vm/fix-ci-sign-binaries branch March 19, 2026 07:20
@VirenMohindra VirenMohindra deleted the vm/fix-ci-sign-binaries branch March 19, 2026 07:22
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.

2 participants