File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 27
27
- nightly
28
28
schedule :
29
29
# Run nightly cronjob CI every day at 14 UTC / 6AM PST / 3PM CET
30
- - cron : ' 0 * * * *'
30
+ - cron : ' 15 * * * *'
31
31
# Run beta slightly later
32
32
- cron : ' 1 * * * *'
33
33
Original file line number Diff line number Diff line change @@ -294,12 +294,14 @@ ci_toolchain = set "pinned-stable"
294
294
echo "set-ci-toolchain: GITHUB_EVENT_NAME is ${event_name}"
295
295
296
296
# We need to parse the channel information for dispatch/schedule events
297
- if eq "${event_name}" "workflow_dispatch" or eq "${event_name}" "schedule"
297
+ is_workflow = set eq "${event_name}" "workflow_dispatch"
298
+ is_schedule = set eq "${event_name}" "schedule"
299
+ if is_workflow or is_schedule
298
300
event_path = get_env GITHUB_EVENT_PATH
299
301
event_file = readfile ${event_path}
300
302
event_json = json_parse ${event_file}
301
303
# For dispatch events
302
- if eq "${event_name}" "workflow_dispatch"
304
+ if is_workflow
303
305
echo "set-ci-toolchain: manually selected channel is ${event_json.inputs.channel}"
304
306
if not eq "${event_json.inputs.channel}" "pinned-stable"
305
307
needs_override = set true
You can’t perform that action at this time.
0 commit comments