Skip to content

Commit 3c38f0a

Browse files
author
Heiko Kiesel
committed
Clarify GITHUB_OUTPUT syntax
Signed-off-by: Heiko Kiesel <heiko.kiesel@iteratec.com>
1 parent cc13367 commit 3c38f0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151

5252
# The previous "Release new version" step increases the version. We need this version for the publishing job. The
5353
# currentVersion command gets this value, which we store in the "version" variable for following jobs.
54+
# The $GITHUB_OUTPUT is a github-magic "file", it is accessible with needs.github.outputs.[variable-name], in our
55+
# case: needs.github.outputs.version
5456
- name: Store version
5557
id: version
5658
run: echo "VERSION=$(./gradlew -q -Prelease.quiet currentVersion)" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)