Added output variable

This commit is contained in:
2021-05-16 12:42:07 +02:00
committed by GitHub
parent e752a69760
commit 1e10e435aa

View File

@@ -5,4 +5,5 @@ set -eux
cd "$GITHUB_ACTION_PATH"
git log --oneline --decorate $INPUT_BASE_REF..$INPUT_HEAD_REF --format=%B -n 1
CONTENT=$(git log --oneline --decorate $INPUT_BASE_REF..$INPUT_HEAD_REF --format=%B -n 1)
echo ::set-output name=changelog::$CONTENT