mirror of
https://github.com/DeterminateSystems/nix-installer-action.git
synced 2024-11-23 04:08:52 +03:00
Fix string interpolation (again)
This commit is contained in:
parent
6265732741
commit
6b0b02c6a2
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -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 }}"
|
||||
|
Loading…
Reference in New Issue
Block a user