From ce536c4be9c8d708058910b27ef3431678577006 Mon Sep 17 00:00:00 2001 From: Megan Davidson Date: Tue, 21 Nov 2023 09:51:33 +1300 Subject: [PATCH] fix: fix --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e89f2dd97..a1a6d811d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,10 +33,10 @@ jobs: id: get-changes run: mapfile -d '' modified_infra_files < <(git diff --name-only -z ${{ github.event.before }} ${{ github.event.after }} -- "infra/*") - if "${#modified_infra_files[@]}" -ge 1; then - echo "infra_change=true" >> $GITHUB_OUTPUT + if [[ "${#modified_infra_files[@]}" -ge 1 ]]; then + echo "infra_change=true" >> "$GITHUB_OUTPUT" else - echo "infra_change=false" >> $GITHUB_OUTPUT + echo "infra_change=false" >> "$GITHUB_OUTPUT" fi - name: Echo test needs