Skip to content

Commit 0295f98

Browse files
committed
Fix formatting
1 parent 659e86b commit 0295f98

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/list-changed-files.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ jobs:
6868
run: |
6969
DIFF_OUTPUT=$(git diff --name-status "$OLD_TAG"..."$NEW_TAG" | grep -E "^($PATTERN)" | cut -c3-)
7070
if [ -n "$DIFF_OUTPUT" ]; then
71-
echo "```$DIFF_OUTPUT```" >> "$GITHUB_STEP_SUMMARY"
71+
cat << EOF >> "$GITHUB_STEP_SUMMARY"
72+
\`\`\`
73+
$DIFF_OUTPUT
74+
\`\`\`
75+
EOF
7276
else
7377
echo "No files $DESCRIPTION found" >> "$GITHUB_STEP_SUMMARY"
7478
fi

0 commit comments

Comments
 (0)