mirror of
https://github.com/creyD/changelog_action.git
synced 2026-04-17 22:30:31 +02:00
Added output variable
This commit is contained in:
@@ -5,4 +5,5 @@ set -eux
|
|||||||
|
|
||||||
cd "$GITHUB_ACTION_PATH"
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user