mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 17:21:39 -05:00
chore: ensure that ci fails when matrix construction errors
This commit is contained in:
parent
d1e04ed33b
commit
53473ab549
1 changed files with 4 additions and 2 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -19,8 +19,10 @@ jobs:
|
||||||
- id: set-matrix
|
- id: set-matrix
|
||||||
name: Generate Nix Matrix
|
name: Generate Nix Matrix
|
||||||
run: |
|
run: |
|
||||||
set -Eeu
|
set -euo pipefail
|
||||||
echo "matrix=$(nix eval --json '.#githubActions.matrix')" >> "$GITHUB_OUTPUT"
|
|
||||||
|
matrix="$(nix eval --json '.#githubActions.matrix')"
|
||||||
|
echo "matrix=${matrix}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
nix-build:
|
nix-build:
|
||||||
needs: nix-matrix
|
needs: nix-matrix
|
||||||
|
|
Loading…
Add table
Reference in a new issue