Skip to content

Commit

Permalink
Don't print blank line when no files change
Browse files Browse the repository at this point in the history
  • Loading branch information
iainelder committed Jul 1, 2024
1 parent 46352aa commit 3ebdc30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id: changed-installers
uses: tj-actions/changed-files@v44
with:
dir_names: true
files: programs/**

- name: Get changed installer names
id: changed
Expand All @@ -28,7 +28,7 @@ jobs:
run: |
{
printf "changed_installers="
cat <<< "$CHANGED_FILES" \
printf "%s" "$CHANGED_FILES" \
| cut -d/ -f2 | sort -u | jq -R | jq -s -c -M
} >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 3ebdc30

Please sign in to comment.