Trigger nightly on push to main, switch to GitHub macos-15 runner (#779)
Build immediately on merge instead of waiting for the hourly cron. Concurrency group cancels in-progress builds when new commits land. Depot macos runner replaced with GitHub macos-15 (similar perf, simpler).
This commit is contained in:
parent
56f184d02e
commit
fe3e2d06d9
1 changed files with 7 additions and 1 deletions
8
.github/workflows/nightly.yml
vendored
8
.github/workflows/nightly.yml
vendored
|
|
@ -1,6 +1,8 @@
|
|||
name: Nightly macOS build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
schedule:
|
||||
# Every hour at :30. The 'decide' job skips if main has no new commits.
|
||||
- cron: "30 * * * *"
|
||||
|
|
@ -12,6 +14,10 @@ on:
|
|||
default: false
|
||||
type: boolean
|
||||
|
||||
concurrency:
|
||||
group: nightly-build
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
|
|
@ -81,7 +87,7 @@ jobs:
|
|||
build-sign-notarize-nightly:
|
||||
needs: decide
|
||||
if: needs.decide.outputs.should_build == 'true'
|
||||
runs-on: depot-macos-latest
|
||||
runs-on: macos-15
|
||||
steps:
|
||||
- name: Checkout main
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue