Use >>$GITHUB_OUTPUT instead of ::set-output

This commit is contained in:
Logan Pulley
2022-10-12 11:23:25 -05:00
parent 7c640bd299
commit 2610be7bb8
5 changed files with 36 additions and 36 deletions

View File

@@ -18,7 +18,7 @@ if [[ -n "$INPUT_UNTIL" ]]; then
if [[ -z "$SHA" ]]; then
echo "::warning::The SHA for date '$INPUT_UNTIL' couldn't be determined, falling back to the current sha."
fi
echo "::set-output name=sha::$SHA"
echo "sha=$SHA" >>$GITHUB_OUTPUT
else
echo "::set-output name=sha::$INPUT_SHA"
echo "sha=$INPUT_SHA" >>$GITHUB_OUTPUT
fi