We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad6e6d8 commit a0f6c9fCopy full SHA for a0f6c9f
action.yml
@@ -6,6 +6,9 @@ runs:
6
branding:
7
icon: 'git-commit'
8
color: 'purple'
9
+outputs:
10
+ version:
11
+ description: 'New version'
12
inputs:
13
dry_run:
14
description: 'Run without creating commit, output to stdout'
entrypoint.sh
@@ -43,6 +43,8 @@ fi
43
export REV=`cz version --project`
44
echo "REVISION=$REV" >> $GITHUB_ENV
45
46
+echo "::set-output name=version::$REV"
47
+
48
echo "Pushing to branch..."
49
remote_repo="https://${GITHUB_ACTOR}:${INPUT_GITHUB_TOKEN}@github.com/${REPOSITORY}.git"
50
git pull ${remote_repo} ${INPUT_BRANCH}
0 commit comments