Skip to content

ci: wire Apple signing/notarization (disabled by default)#4

Merged
facundofarias merged 2 commits into
mainfrom
ci/wire-apple-signing
Jul 11, 2026
Merged

ci: wire Apple signing/notarization (disabled by default)#4
facundofarias merged 2 commits into
mainfrom
ci/wire-apple-signing

Conversation

@facundofarias

Copy link
Copy Markdown
Member

Wires macOS code signing + notarization into the release workflow, switched off until you're ready.

How it's gated

The APPLE_* env vars on the tauri-action step are gated behind the repo variable APPLE_SIGNING_ENABLED:

APPLE_CERTIFICATE: ${{ vars.APPLE_SIGNING_ENABLED == 'true' && secrets.APPLE_CERTIFICATE || '' }}
# …and the other five

Until APPLE_SIGNING_ENABLED is true, every var resolves to empty and tauri-action builds unsigned exactly as today — zero behavior change from merging this.

To turn it on later (no code changes needed)

  1. Settings → Secrets and variables → Actions → Variables → add APPLE_SIGNING_ENABLED = true.
  2. Add the six secrets: APPLE_CERTIFICATE (base64 .p12), APPLE_CERTIFICATE_PASSWORD, APPLE_SIGNING_IDENTITY, APPLE_ID, APPLE_PASSWORD (app-specific), APPLE_TEAM_ID.
  3. Cut the next tag → signed + notarized .dmg, no Gatekeeper prompt.

🤖 Generated with Claude Code

facundofarias and others added 2 commits July 11, 2026 19:51
Adds the APPLE_* env block to the tauri-action step, gated behind the repo
variable APPLE_SIGNING_ENABLED. Until that variable is 'true' (and the six
APPLE_* secrets are added), the vars resolve to empty and builds stay UNSIGNED —
no behavior change. Flipping the variable + adding the secrets turns on signed +
notarized .dmg builds with no further code changes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
An empty APPLE_CERTIFICATE env var makes the Tauri bundler attempt security import and fail the macOS build. Move the APPLE_* vars into a conditional 'Configure Apple signing' step gated on APPLE_SIGNING_ENABLED == 'true' + macOS, so when disabled the vars are absent entirely and the build stays unsigned.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@facundofarias
facundofarias merged commit 317c900 into main Jul 11, 2026
2 checks passed
@facundofarias
facundofarias deleted the ci/wire-apple-signing branch July 11, 2026 18:05
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