Reduce nightly build cadence (#64557)
Reduce the nightly release workflow from six runs per day to two runs per day, at 02:00 and 14:00 UTC. Update both the workflow generator and generated workflow. Validated by regenerating workflows with `cargo xtask workflows`. Release Notes: - N/A --------- Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
1 parent
5a1c0e3da0
commit
f2af4a2804
2 files changed
+3
-3
No files matched your search
@@ -6,7 +6,7 @@ env:
|
||||
RUST_BACKTRACE: '1'
|
||||
on:
|
||||
schedule:
|
||||
- cron: 0 */4 * * *
|
||||
- cron: 0 2,14 * * *
|
||||
workflow_dispatch: {}
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -49,8 +49,8 @@ pub fn release_nightly() -> Workflow {
|
||||
named::workflow()
|
||||
.with_minimal_permissions()
|
||||
.on(Event::default()
|
||||
// Fire 6 times a day
|
||||
.schedule([Schedule::new("0 */4 * * *")])
|
||||
// Fire twice a day at 02:00 and 14:00 UTC
|
||||
.schedule([Schedule::new("0 2,14 * * *")])
|
||||
.workflow_dispatch(WorkflowDispatch::default()))
|
||||
.concurrency(
|
||||
Concurrency::default()
|
||||
|
||||
Reference in new issue
Block a user