From 1e10e435aa07ab18752a3dba27cb33cfd7176491 Mon Sep 17 00:00:00 2001 From: Conrad Date: Sun, 16 May 2021 12:42:07 +0200 Subject: [PATCH] Added output variable --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index f2a66ac..ed6a156 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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