From e4c726bca3c850c2cd1b51bf8e353983c1446693 Mon Sep 17 00:00:00 2001 From: rasta-rocket Date: Thu, 27 Jun 2024 09:23:36 +0200 Subject: [PATCH] chore: replace deprecated set-output method with GITHUB_OUTPUT --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 739c04d..91bb9e1 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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