Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MDavidson17 committed Nov 20, 2023
1 parent ed57ac0 commit ce536c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce536c4

Please sign in to comment.