mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11: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
|
||||
name: Generate Nix Matrix
|
||||
run: |
|
||||
set -Eeu
|
||||
echo "matrix=$(nix eval --json '.#githubActions.matrix')" >> "$GITHUB_OUTPUT"
|
||||
set -euo pipefail
|
||||
|
||||
matrix="$(nix eval --json '.#githubActions.matrix')"
|
||||
echo "matrix=${matrix}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
nix-build:
|
||||
needs: nix-matrix
|
||||
|
|
Loading…
Add table
Reference in a new issue