Skip to content

Commit 0b1c9bd

Browse files
authored
Output workflow version before in release workflow
Signed-off-by: Zefir <[email protected]>
1 parent d6a74f8 commit 0b1c9bd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,15 @@ jobs:
2929
uses: actions/setup-java@v3
3030
with:
3131
java-version: '17'
32-
distribution: 'corretto'
32+
distribution: 'temurin'
3333

3434
- name: Set release version
3535
run: |
3636
TAG=${{ github.event.release.tag_name }}
3737
echo "VERSION=${TAG#v}" >> $GITHUB_ENV
38+
39+
- name: Echo version
40+
run: "echo Version: $VERSION"
3841

3942
- name: Set project version
4043
run: mvn -B versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false

0 commit comments

Comments
 (0)