From 53473ab5493d5d1fb9bb32f957e9a31596ab73e1 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Sat, 28 Oct 2023 07:37:10 -0400 Subject: [PATCH] chore: ensure that ci fails when matrix construction errors --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 944677b..81102da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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