Skip to content

Commit efd74ff

Browse files
btlogyhacklschorsch
andcommitted
Prettier matrix with comments
Co-authored-by: Florian Sesser <florian@leastauthority.com> Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
1 parent 71f9ae3 commit efd74ff

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/nix.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ jobs:
3838
- name: Set matrix
3939
id: set-matrix
4040
run: |
41-
echo 'matrix={"include":[{"target":"webforge","hostname":"webforge","domain":""}]}' >> $GITHUB_OUTPUT
41+
# Create a "matrix" targeting the systems we want to check (and later deploy),
42+
# which will be consumed by the next job to start one build per system.
43+
echo 'matrix={"include":[\
44+
{"target":"webforge","hostname":"webforge","domain":"tahoe-lafs.org"}\
45+
]}' >> $GITHUB_OUTPUT
4246
4347
build:
4448
name: Build
@@ -47,6 +51,7 @@ jobs:
4751
needs: check
4852
strategy:
4953
fail-fast: false
54+
# Consuming the matrix created above
5055
matrix: ${{fromJson(needs.check.outputs.matrix)}}
5156
steps:
5257
- name: Checkout

0 commit comments

Comments
 (0)