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_SINCE" ]]; then
if [[ -z "$BASE_SHA" ]]; then
echo "::warning::The BASE_SHA for date '$INPUT_SINCE' couldn't be determined."
fi
echo "::set-output name=base_sha::$BASE_SHA"
echo "base_sha=$BASE_SHA" >>$GITHUB_OUTPUT
elif [[ -n "$INPUT_BASE_SHA" ]]; then
echo "::set-output name=base_sha::$INPUT_BASE_SHA"
echo "base_sha=$INPUT_BASE_SHA" >>$GITHUB_OUTPUT
fi