From 2a5a4707487b514e11a5ebd2aaee074e1490ef74 Mon Sep 17 00:00:00 2001 From: Erik Rogers Date: Fri, 13 Mar 2026 16:46:11 -0400 Subject: [PATCH] feat: build macOS universal binary instead of separate x64/arm64 Replace the two separate macOS build matrix entries with a single universal binary build, producing a fat binary containing both x86_64 and arm64 slices in one .dmg. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/release.yml | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8331ba508..199a1a4c2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,16 +85,11 @@ jobs: fail-fast: false matrix: include: - - label: macOS arm64 + - label: macOS universal runner: macos-14 platform: mac target: dmg - arch: arm64 - - label: macOS x64 - runner: macos-15-intel - platform: mac - target: dmg - arch: x64 + arch: universal - label: Linux x64 runner: ubuntu-24.04 platform: linux @@ -210,12 +205,6 @@ jobs: done done - if [[ "${{ matrix.platform }}" == "mac" && "${{ matrix.arch }}" != "arm64" ]]; then - if [[ -f release-publish/latest-mac.yml ]]; then - mv release-publish/latest-mac.yml "release-publish/latest-mac-${{ matrix.arch }}.yml" - fi - fi - - name: Upload build artifacts uses: actions/upload-artifact@v7 with: @@ -278,13 +267,6 @@ jobs: merge-multiple: true path: release-assets - - name: Merge macOS updater manifests - run: | - node scripts/merge-mac-update-manifests.ts \ - release-assets/latest-mac.yml \ - release-assets/latest-mac-x64.yml - rm -f release-assets/latest-mac-x64.yml - - name: Publish release uses: softprops/action-gh-release@v2 with: