-
Notifications
You must be signed in to change notification settings - Fork 2
74 lines (66 loc) · 1.78 KB
/
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: Build m2os
on:
schedule:
- cron: "41 6 * * 0" # 6:41 UTC Sunday
- cron: "41 6 * * 1,2,3,4,5,6" # 6:41 UTC Monday-Saturday
push:
branches:
- main
pull_request:
branches:
- main
merge_group:
workflow_dispatch:
permissions:
contents: write
packages: write
id-token: write
jobs:
build-image-desktop:
name: Desktop Images
uses: ./.github/workflows/build-image.yml
secrets: inherit
with:
images: '["aurora", "aurora-nvidia", "bluefin", "bluefin-nvidia", "cosmic", "cosmic-nvidia"]'
image_flavor: Desktop
build-image-bazzite:
name: Bazzite Images
uses: ./.github/workflows/build-image.yml
secrets: inherit
with:
images: '["bazzite", "bazzite-deck"]'
image_flavor: Bazzite
build-image-server:
name: Server Images
uses: ./.github/workflows/build-image.yml
secrets: inherit
with:
images: '["ucore", "ucore-nvidia"]'
image_flavor: Server
changelogs-server-stable:
name: Server Changelogs
uses: ./.github/workflows/changelogs.yml
secrets: inherit
needs: build-image-server
with:
target: ucore
build-iso-desktop:
name: Desktop ISOs
uses: ./.github/workflows/build-iso.yml
secrets: inherit
needs: build-image-desktop
with:
images: '["aurora", "aurora-nvidia", "bluefin", "bluefin-nvidia", "cosmic", "cosmic-nvidia"]'
image_flavor: Desktop
build-iso-bazzite:
name: Bazzite ISOs
uses: ./.github/workflows/build-iso.yml
secrets: inherit
needs: build-image-bazzite
with:
images: '["bazzite", "bazzite-deck"]'
image_flavor: Bazzite
create-release:
name: Create Release
needs: [build-iso-desktop, build-iso-bazzite, changelogs-server-stable]
uses: ./.github/workflows/create-release.yml