Skip to content

Commit 5a68349

Browse files
authored
Update tagged_release.yml (#34)
1 parent 52796c9 commit 5a68349

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/tagged_release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,17 @@ jobs:
6161
echo "release_branch_name=$release_branch_name" >> $GITHUB_ENV
6262
6363
- name: Set maven version
64+
if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'
6465
run: mvn versions:set -DnewVersion=${{ github.event.inputs.release_version }}
6566
env:
6667
TOKEN: ${{ secrets.GITHUB_TOKEN }}
6768

69+
- name: Set maven version on Windows
70+
if: matrix.os == 'windows-latest'
71+
run: mvn versions:set -DnewVersion="${{ github.event.inputs.release_version }}"
72+
env:
73+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
74+
6875
- name: Creating native image (Mac)
6976
if: matrix.os == 'macos-latest'
7077
run: mvn install -P native-image -DskipTests -Dos.platform=mac -Dmaven.wagon.httpconnectionManager.ttlSeconds=60

0 commit comments

Comments
 (0)