Use >>$GITHUB_OUTPUT instead of ::set-output
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user