From 387745077bed555e4c4cc0721a666d948ad9d94b Mon Sep 17 00:00:00 2001 From: Megan Davidson Date: Tue, 21 Nov 2023 09:41:19 +1300 Subject: [PATCH] fix: test --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a0bab7503..0f78faa02 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,8 +33,7 @@ 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 + if [[ "${#modified_infra_files[@]}" -ge 1 ]]; then echo "infra_change=true" >> $GITHUB_OUTPUT else echo "infra_change=false" >> $GITHUB_OUTPUT