Skip to content

Commit 74ddc46

Browse files
authored
replace the deprecated set-output with the new environment files (#3)
1 parent e7750e0 commit 74ddc46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ fi
4242
echo "keyword detected: $result"
4343
echo "::endgroup::"
4444

45-
echo "::set-output name=COMMIT_MESSAGE::$(echo $commit_message | sed 's/\"/\\"/g')"
46-
echo "::set-output name=CI_TRIGGERED::$result"
45+
echo "COMMIT_MESSAGE=$(echo $commit_message | sed 's/\"/\\"/g')" >> $GITHUB_OUTPUT
46+
echo "CI_TRIGGERED=$result" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)