Skip to content

Commit daf0be6

Browse files
committed
feat: fail pipeline if nix evaluation fails
1 parent 345e9ec commit daf0be6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/nix-eval.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ jobs:
3131
name: Generate Nix Matrix
3232
run: |
3333
set -Eeu -o pipefail
34-
echo matrix="$(nix run --accept-flake-config .\#github-matrix -- checks legacyPackages)" >> "$GITHUB_OUTPUT"
34+
result=$(nix run --accept-flake-config .\#github-matrix -- checks legacyPackages)
35+
echo matrix="$result" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)