Skip to content

Commit

Permalink
Add diff_headers.yml action
Browse files Browse the repository at this point in the history
  • Loading branch information
littleGnAl committed Apr 2, 2024
1 parent b5cba50 commit 53f3d5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ RESULT="$(diff -u -b -r ${BASE_PATH} ${TARGET_PATH})"
retVal=$?
if [ $retVal -eq 1 ]; then
SUMMARY="\`\`\`diff"'\n'"${RESULT}""\`\`\`"
echo "${SUMMARY}"

# Output the github action summary.
echo "${RESULT}" >> $GITHUB_STEP_SUMMARY
echo ${SUMMARY} >> $GITHUB_STEP_SUMMARY
exit 0;
fi

Expand Down

0 comments on commit 53f3d5c

Please sign in to comment.