From 3b1b863e54d4ecfdb4b86f8b76e9635a1e3fd595 Mon Sep 17 00:00:00 2001 From: Romain Lespinasse Date: Sat, 15 Oct 2022 21:26:27 +0200 Subject: [PATCH] fix: use environment file to manage outputs --- shortify.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shortify.sh b/shortify.sh index a2c2874..8c51e02 100755 --- a/shortify.sh +++ b/shortify.sh @@ -45,8 +45,8 @@ elif [ "${INPUT_CONTINUE_ON_ERROR}" == "false" ]; then fi if [ "${SHORT_PUBLICATION}" == "true" ]; then - echo "::set-output name=revision::${REVISION}" - echo "::set-output name=short::${SHORT_VALUE}" + echo "revision=${REVISION}" >> "$GITHUB_OUTPUT" + echo "short=${SHORT_VALUE}" >> "$GITHUB_OUTPUT" if [ "${INPUT_PUBLISH_ENV}" == "true" ]; then {