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'
|
RUST_BACKTRACE: '1'
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 0 */4 * * *
|
- cron: 0 2,14 * * *
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
@@ -49,8 +49,8 @@ pub fn release_nightly() -> Workflow {
|
|||||||
named::workflow()
|
named::workflow()
|
||||||
.with_minimal_permissions()
|
.with_minimal_permissions()
|
||||||
.on(Event::default()
|
.on(Event::default()
|
||||||
// Fire 6 times a day
|
// Fire twice a day at 02:00 and 14:00 UTC
|
||||||
.schedule([Schedule::new("0 */4 * * *")])
|
.schedule([Schedule::new("0 2,14 * * *")])
|
||||||
.workflow_dispatch(WorkflowDispatch::default()))
|
.workflow_dispatch(WorkflowDispatch::default()))
|
||||||
.concurrency(
|
.concurrency(
|
||||||
Concurrency::default()
|
Concurrency::default()
|
||||||
|
|||||||
Reference in new issue
Block a user