From 9811ea34b55dcc0096d4d1a40a8f89041f8abe71 Mon Sep 17 00:00:00 2001 From: Lawrence Chen <54008264+lawrencecchen@users.noreply.github.com> Date: Thu, 26 Mar 2026 21:09:59 -0700 Subject: [PATCH] Switch release builds to macOS Tahoe runner (#2233) * Switch release builds to macOS Tahoe runner Use warp-macos-26-arm64-6x for release builds to match nightly. Also add a dry-run artifact upload path for workflow_dispatch so the release pipeline can be tested without creating a real release. * Gate release upload on event_name, not just ref prefix Prevents workflow_dispatch triggered on a tag ref from accidentally uploading real release assets. --------- Co-authored-by: Lawrence Chen --- .github/workflows/release.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e5601d05..c8b579f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ env: jobs: build-sign-notarize: - runs-on: warp-macos-15-arm64-6x + runs-on: warp-macos-26-arm64-6x timeout-minutes: 20 steps: - name: Checkout @@ -328,8 +328,19 @@ jobs: remote-daemon-assets/cmuxd-remote-checksums.txt remote-daemon-assets/cmuxd-remote-manifest.json + - name: Upload build artifacts (dry-run) + if: steps.guard_release_assets.outputs.skip_upload != 'true' && github.event_name == 'workflow_dispatch' + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + with: + name: cmux-release-dry-run + path: | + cmux-macos.dmg + appcast.xml + remote-daemon-assets/cmuxd-remote-* + if-no-files-found: error + - name: Upload release asset - if: steps.guard_release_assets.outputs.skip_upload != 'true' + if: steps.guard_release_assets.outputs.skip_upload != 'true' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2 with: files: |