Skip to content

fix: replace deprecated macos-13 runner with split per-arch jobs on macos-latest#49

Merged
ajainvivek merged 1 commit into
mainfrom
fix/macos-release-split-arch-jobs
Mar 16, 2026
Merged

fix: replace deprecated macos-13 runner with split per-arch jobs on macos-latest#49
ajainvivek merged 1 commit into
mainfrom
fix/macos-release-split-arch-jobs

Conversation

@ajainvivek
Copy link
Copy Markdown
Contributor

What happened

Three iterations of this fix:

Release Runner Result
v0.5.7 macos-latest (macos-15-arm64) Timeout — runner lost network after 47 min during notarization poll
v0.5.8 macos-13 (PR #47) Cancelled immediatelymacos-13 is deprecated and no longer provisioned
this PR macos-latest × 2 separate arch jobs Expected to pass ✅

Fix

Replace the single --target universal-apple-darwin job (one fat binary, long notarization) with two parallel per-architecture jobs following the official tauri-action recommendation:

- platform: macos-latest
  args: --target aarch64-apple-darwin   # Apple Silicon
- platform: macos-latest
  args: --target x86_64-apple-darwin    # Intel

Each job builds and notarizes a ~50% smaller binary in parallel, cutting notarization time in half and significantly reducing the exposure window for the runner network instability that caused the v0.5.7 timeout.

Additional changes:

  • tauri-apps/tauri-action@v0@v1 (current stable, per the official docs)
  • retryAttempts: 3 added — the action will automatically retry on transient notarization failures instead of failing the job
  • timeout-minutes: 90 retained as a fast-fail safety net

Trade-off

The release now ships two .dmg files (aarch64 for Apple Silicon, x86_64 for Intel) instead of one universal binary. Release body text updated accordingly.

…acos-latest

macos-13 was deprecated by GitHub and immediately cancelled the v0.5.8
build. This replaces the single universal binary job with two parallel
per-architecture jobs following the official tauri-action recommendation:

- macos-latest --target aarch64-apple-darwin  (Apple Silicon)
- macos-latest --target x86_64-apple-darwin   (Intel)

Each job notarizes a ~50% smaller binary, cutting notarization time in
half and reducing the window for the runner network drop that caused the
original timeout failure on v0.5.7.

Also upgrades tauri-apps/tauri-action@v0 -> @v1 (current stable) and
adds retryAttempts: 3 to handle any remaining transient notarization
failures automatically.
@ajainvivek ajainvivek merged commit 651a551 into main Mar 16, 2026
2 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