From 6b0b02c6a24da4a1d9fd921236aff4e6e3fe467c Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Thu, 16 May 2024 20:51:04 -0300 Subject: [PATCH] Fix string interpolation (again) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30c4967..6d4b887 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -229,7 +229,7 @@ jobs: - name: Compare Nix version with expected version run: | NIX_VERSION_OUTPUT=$(nix --version) - NIX_VERSION=$(echo "${NIX_VERSION}" | awk '{print $NF}') + NIX_VERSION=$(echo "${NIX_VERSION_OUTPUT}" | awk '{print $NF}') EXPECTED_OUTPUT="nix (Nix) ${{ matrix.versions.nix }}" if [ "${NIX_VERSION_OUTPUT}" != "${EXPECTED_OUTPUT}" ]; then echo "Nix version ${NIX_VERSION} didn't match expected version ${{ matrix.versions.nix }}"