File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments