Skip to content

Commit b56fb2e

Browse files
Heiko KieselWeltraumschaf
authored andcommitted
Update deprecated output setting syntax
Signed-off-by: Heiko Kiesel <heiko.kiesel@iteratec.com>
1 parent 2b5206e commit b56fb2e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ jobs:
4747
# currentVersion command gets this value, which we store in the "version" variable for following jobs.
4848
- name: Get current version
4949
id: version
50-
run: echo "::set-output name=version::$(./gradlew -q -Prelease.quiet currentVersion)"
51-
52-
# TODO: Create Github release
50+
run: echo "version=$(./gradlew -q -Prelease.quiet currentVersion)" >> "$VERSION"
5351

5452
maven:
5553
runs-on: ubuntu-22.04
@@ -60,7 +58,7 @@ jobs:
6058
uses: actions/checkout@v3
6159
with:
6260
fetch-depth: 0
63-
ref: refs/tags/${{ needs.github.outputs.version }}
61+
ref: refs/tags/${{ needs.github.outputs.VERSION }}
6462

6563
- name: Set up JDK 17
6664
uses: actions/setup-java@v3

0 commit comments

Comments
 (0)