Skip to content

Commit

Permalink
Revert "Don't post markdown update when there are no failures"
Browse files Browse the repository at this point in the history
This reverts commit 13ec4de.
  • Loading branch information
lwasyl committed Jul 3, 2023
1 parent 13ec4de commit af0cf0f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ set -eo pipefail

summary=$(java -jar ftl-tests-results-r8.jar --merged-results="$INPUT_MERGED_RESULT_FILE")

if [ ! -z "failures" ]; then
delimiter=$(openssl rand -hex 20)
echo "summary-markdown<<$delimiter" >> $GITHUB_OUTPUT
echo "$summary" >> $GITHUB_OUTPUT
echo "$delimiter" >> $GITHUB_OUTPUT
fi
delimiter=$(openssl rand -hex 20)
echo "summary-markdown<<$delimiter" >> $GITHUB_OUTPUT
echo "$summary" >> $GITHUB_OUTPUT
echo "$delimiter" >> $GITHUB_OUTPUT

echo "$summary" >> $GITHUB_STEP_SUMMARY

0 comments on commit af0cf0f

Please sign in to comment.