From d3c0ed404baf7110466fc6bd26372d6f0f0a796d Mon Sep 17 00:00:00 2001 From: Megan Davidson Date: Tue, 21 Nov 2023 09:56:03 +1300 Subject: [PATCH] fix: test --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a1a6d811d..be5190982 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,7 +31,7 @@ jobs: steps: - name: get-changes id: get-changes - run: + 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"