-
-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (50 loc) · 1.17 KB
/
nightly-build.yml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Nightly build
run-name: Nightly Build ${{ (vars.RUNS_ON_SELF_HOSTED == null && '(on GitHub-hosted)') || '(on self-hosted)' }}
on:
workflow_dispatch:
schedule:
- cron: '0 15 * * *'
defaults:
run:
shell: bash -euo pipefail {0}
jobs:
check:
uses: ./.github/workflows/check.yml
permissions:
contents: read
pull-requests: write
checks: write
secrets: inherit
build-prod:
needs: check
uses: ./.github/workflows/deliver-prod.yml
permissions:
contents: read
secrets: inherit
with:
upload: false
build-stg:
needs: check
uses: ./.github/workflows/deliver-stg.yml
permissions:
contents: read
secrets: inherit
with:
upload: false
build-dev:
needs: check
uses: ./.github/workflows/deliver-dev.yml
secrets: inherit
permissions:
contents: read
pages: write
id-token: write
with:
upload: false
action-timeline:
needs: [check, build-prod, build-stg, build-dev]
if: ${{ !cancelled() }}
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: Kesin11/actions-timeline@3046833d9aacfd7745c5264b7f3af851c3e2a619 # v2.2.1