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 <lawrencecchen@users.noreply.github.com>
This commit is contained in:
parent
5c7cafeee2
commit
9811ea34b5
1 changed files with 13 additions and 2 deletions
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue