File tree 2 files changed +28
-3
lines changed
2 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 5
5
pull_request : {}
6
6
# allow rebuilding without a push
7
7
workflow_dispatch : {}
8
- # pre-build sstate regularly
9
- schedule :
10
- - cron : ' 30 2 * * *'
11
8
12
9
jobs :
13
10
build :
Original file line number Diff line number Diff line change
1
+ name : Schedule Builds
2
+
3
+ on :
4
+ # allow rebuilding manually
5
+ workflow_dispatch :
6
+ # pre-build sstate regularly
7
+ schedule :
8
+ - cron : ' 30 2 * * *'
9
+
10
+ jobs :
11
+ build :
12
+ name : Schedule Builds
13
+ runs-on : ubuntu-latest
14
+ if : ${{ github.event_name == 'workflow_dispatch' || vars.SCHEDULE_BUILDS }}
15
+ env :
16
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17
+ steps :
18
+ - name : Check out the repository
19
+ uses : actions/checkout@v4
20
+
21
+ - name : Trigger master build
22
+ run : gh workflow run build --ref master
23
+
24
+ - name : Trigger scarthgap build
25
+ run : gh workflow run build --ref scarthgap
26
+
27
+ - name : Trigger kirkstone build
28
+ run : gh workflow run build --ref kirkstone
You can’t perform that action at this time.
0 commit comments