generated from ublue-os/image-template
-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (36 loc) · 988 Bytes
/
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
name: Build bOS
on:
schedule:
- cron: "31 6 * * 0" # 6:31 UTC Sunday
- cron: "31 6 * * 1,2,3,4,5,6" # 6:31 UTC Monday-Saturday
push:
branches:
- main
merge_group:
workflow_dispatch:
permissions:
contents: read
packages: write
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
push-desktop-stable:
uses: ./.github/workflows/build-desktop.yml
secrets: inherit
with:
tag_version: stable
# push-desktop-beta:
# uses: ./.github/workflows/build-desktop.yml
# secrets: inherit
# with:
# tag_version: beta
push-server:
uses: ./.github/workflows/build-server.yml
secrets: inherit
# build-iso:
# uses: ./.github/workflows/build-iso.yml
# secrets: inherit
# needs: push-desktop-stable
# if: (github.event_name == 'schedule' && github.event.schedule != '41 6 * * 1,2,3,4,5,6') || github.event_name == 'workflow_dispatch'