File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -34,19 +34,13 @@ jobs:
3434 java-version : ' 17'
3535 distribution : ' zulu'
3636 server-id : central
37- server-username : ${{ secrets. MAVEN_USERNAME }}
38- server-password : ${{ secrets. MAVEN_PASSWORD }}
37+ server-username : MAVEN_USERNAME
38+ server-password : MAVEN_PASSWORD
3939 # GPG Key setup for signing artifacts
4040 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
41- gpg-passphrase : ${{ secrets. GPG_PASSPHRASE }}
41+ gpg-passphrase : GPG_PASSPHRASE
4242
43- - name : Print Maven Settings.xml for Debugging
44- # This step helps debug by printing the effective Maven settings.xml
45- # It will show if the 'central' server configuration is correctly added.
46- run : |
47- cat ~/.m2/settings.xml
48- shell : bash
49- - name : Bump version in pom.xml && Deploy JAR to Maven Central
43+ - name : Bump version in pom.xml
5044 run : mvn versions:set -DnewVersion=${{ github.event.inputs.new_version }} -DgenerateBackupPoms=false
5145
5246 - name : Deploy JAR to Maven Central
You can’t perform that action at this time.
0 commit comments