Skip to content

Commit 22c9fd9

Browse files
Heiko KieselZero3141
authored andcommitted
Clarify GITHUB_OUTPUT syntax
Signed-off-by: Heiko Kiesel <heiko.kiesel@iteratec.com>
1 parent 6168be3 commit 22c9fd9

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)