Skip to content

Commit

Permalink
chore: replace deprecated set-output method with GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
rasta-rocket committed Jun 27, 2024
1 parent c703e29 commit e4c726b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ case "${ACTION}" in
esac

SINGLE_LINE_OUTPUT=$(echo "${OUTPUT}" | awk 'BEGIN { RS="" } { gsub(/%/, "%25"); gsub(/\r/, "%0D"); gsub(/\n/, "%0A") } { print }')
echo ::set-output name=detailed::"${SINGLE_LINE_OUTPUT}"
echo "detailed=${SINGLE_LINE_OUTPUT}" >> $GITHUB_OUTPUT
SUMMARY=$(echo "${OUTPUT}" | grep Summary)
echo ::set-output name=summary::"${SUMMARY}"
echo "summary=${SUMMARY}" >> $GITHUB_OUTPUT

exit $STATUS

0 comments on commit e4c726b

Please sign in to comment.