File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 4
4
workflow_dispatch :
5
5
schedule :
6
6
- cron : " 0 21 * * 2" # At 21:00 on Tuesday.
7
- - cron : " 10 21 * * 2" # At 21:10 on Tuesday.
8
7
- cron : " 20 21 * * 2" # At 21:20 on Tuesday.
8
+ - cron : " 40 21 * * 2" # At 21:40 on Tuesday.
9
9
- cron : " 0 21 * * 4" # At 21:00 on Thursday.
10
- - cron : " 10 21 * * 4" # At 21:10 on Thursday.
11
10
- cron : " 20 21 * * 4" # At 21:20 on Thursday.
11
+ - cron : " 40 21 * * 4" # At 21:40 on Thursday.
12
12
13
13
jobs :
14
14
stream :
@@ -28,10 +28,10 @@ jobs:
28
28
"0 21 * * 4" | "0 21 * * 2")
29
29
echo "stream=debug" | tee -a "$GITHUB_OUTPUT"
30
30
;;
31
- "10 21 * * 4" | "10 21 * * 2")
31
+ "20 21 * * 4" | "20 21 * * 2")
32
32
echo "stream=console" | tee -a "$GITHUB_OUTPUT"
33
33
;;
34
- "20 21 * * 4" | "20 21 * * 2")
34
+ "40 21 * * 4" | "40 21 * * 2")
35
35
echo "stream=nightly" | tee -a "$GITHUB_OUTPUT"
36
36
;;
37
37
*)
54
54
55
55
update-code :
56
56
# On nightly stream only.
57
- if : |
58
- github.event_name == 'workflow_dispatch' ||
59
- github.event.schedule == '20 21 * * 4' ||
60
- github.event.schedule == '20 21 * * 2'
61
- needs : build-image
57
+ if : needs.stream.outputs.stream == 'nightly'
58
+ needs : ["build-image", "stream"]
62
59
runs-on : ubuntu-22.04
63
60
steps :
64
61
- name : Checkout
You can’t perform that action at this time.
0 commit comments