Skip to content

Commit ca257d2

Browse files
author
MochiOS Team
committed
matrix build: nightly iso gets purple theme, stable gets normal
1 parent 2c380e1 commit ca257d2

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

‎.github/workflows/build-iso.yml‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ jobs:
1111
container:
1212
image: archlinux/archlinux:latest
1313
options: --privileged
14+
strategy:
15+
matrix:
16+
variant:
17+
- channel: nightly
18+
nightly: "true"
19+
- channel: stable
20+
nightly: "false"
1421
steps:
1522
- name: install deps
1623
run: |
@@ -54,13 +61,13 @@ jobs:
5461
WORK_DIR=/tmp/mochios-work \
5562
GNUPGHOME=/home/mochi/.mochios-gnupg \
5663
SIGN_KEY=ci@mochios.dev \
57-
NIGHTLY=true \
64+
NIGHTLY=${{ matrix.variant.nightly }} \
5865
bash /tmp/mochios/build.sh 2>&1
5966
6067
- name: upload iso
6168
uses: actions/upload-artifact@v7
6269
with:
63-
name: mochios-iso
70+
name: mochios-iso-${{ matrix.variant.channel }}
6471
path: /tmp/mochios/out/*.iso
6572
retention-days: 30
6673

@@ -82,7 +89,7 @@ jobs:
8289
- uses: actions/checkout@v4
8390
- uses: actions/download-artifact@v7
8491
with:
85-
name: mochios-iso
92+
name: mochios-iso-${{ matrix.channel.tag }}
8693
path: /tmp/iso
8794

8895
- name: publish ${{ matrix.channel.tag }} release

0 commit comments

Comments
 (0)