From 993acc43efd31d4eaf8ceadc0bd0db5ee166ff78 Mon Sep 17 00:00:00 2001 From: littleGnAl Date: Tue, 2 Apr 2024 19:45:21 +0800 Subject: [PATCH] Add diff_headers.yml action --- scripts/diff.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/diff.sh b/scripts/diff.sh index a32088d..a74efbe 100644 --- a/scripts/diff.sh +++ b/scripts/diff.sh @@ -12,7 +12,7 @@ RESULT=$(diff -u -b -r ${BASE_PATH} ${TARGET_PATH}) retVal=$? if [ $retVal -eq 1 ]; then - SUMMARY="\`\`\`diff"'\n'"${RESULT}""\`\`\`" + SUMMARY="\`\`\`diff"$'\n'"${RESULT}"$'\n'"\`\`\`" echo "${SUMMARY}" # Output the github action summary.