Skip to content

Commit

Permalink
Don't truncate multiple lines in outputs.
Browse files Browse the repository at this point in the history
  • Loading branch information
pplotka committed Jan 14, 2022
1 parent 62b2f3d commit 426b87c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ output=$(/security-checker ${PATH} ${FORMAT} $*)
echo "$output"

if [ ! -z "${GITHUB_ACTIONS}" ]; then
output="${output//'%'/'%25'}"
output="${output//$'\n'/'%0A'}"
output="${output//$'\r'/'%0D'}"
echo "::set-output name=security::$output"
fi

0 comments on commit 426b87c

Please sign in to comment.