-
Notifications
You must be signed in to change notification settings - Fork 135
45 lines (43 loc) · 1.4 KB
/
nightly_trigger.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: nightly_trigger
on:
schedule:
- cron: '0 21 * * *'
workflow_dispatch:
jobs:
trigger_23:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
ref: 23.lts.1+
- name: Trigger Nightly
run: |
set -x
gh workflow run android_23.lts.1+ --ref 23.lts.1+ -f nightly=true
gh workflow run evergreen_23.lts.1+ --ref 23.lts.1+ -f nightly=true
gh workflow run linux_23.lts.1+ --ref 23.lts.1+ -f nightly=true
gh workflow run raspi-2_23.lts.1+ --ref 23.lts.1+ -f nightly=true
gh workflow run win32_23.lts.1+ --ref 23.lts.1+ -f nightly=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
trigger_22:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
ref: 22.lts.1+
- name: Trigger Nightly
run: |
set -x
gh workflow run android_22.lts.1+ --ref 22.lts.1+ -f nightly=true
gh workflow run evergreen_22.lts.1+ --ref 22.lts.1+ -f nightly=true
gh workflow run linux_22.lts.1+ --ref 22.lts.1+ -f nightly=true
gh workflow run raspi-2_22.lts.1+ --ref 22.lts.1+ -f nightly=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}