-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (49 loc) · 1.33 KB
/
nightlies-scheduled.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
46
47
48
49
50
51
52
53
54
55
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
# Workflow that creates nightly builds of application declared on the repository.
# The workflow is described in the README.md at the root of the repository
name: Scheduled Nightlies
concurrency:
group: nightlies
cancel-in-progress: false
on:
workflow_dispatch:
inputs:
appsToBuild:
description: App(s) to build
required: false
type: string
default: all
publishArtifacts:
description: Publish Artifacts
required: false
type: boolean
default: false
sendNotifications:
description: Send notifications
required: false
type: boolean
default: false
schedule:
- cron: "0 0 * * *"
jobs:
simple-checks:
name: Simple Checks
uses: ./.github/workflows/simple-checks.yaml
build-applications:
name: Build Applications
needs: simple-checks
uses: ./.github/workflows/build-applications.yaml
secrets: inherit
permissions:
contents: read
packages: write
with:
appsToBuild: ${{ inputs.appsToBuild }}
publishArtifacts: true
sendNotifications: true
# render-readme:
# name: Render Readme
# needs: build-images
# uses: ./.github/workflows/render-readme.yaml
# secrets: inherit