File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 77 <pluginGroup >org.sonatype.plugins</pluginGroup >
88 </pluginGroups >
99 <properties >
10- <gpg .keyname>${env.RELEASE_GPG_KEYNAME}</gpg .keyname>
11- <gpg .passphrase>${env.RELEASE_GPG_PASSPHRASE}</gpg .passphrase>
10+ <!-- gpg.keyname>${env.RELEASE_GPG_KEYNAME}</gpg.keyname>
11+ <gpg.passphrase>${env.RELEASE_GPG_PASSPHRASE}</gpg.passphrase-- >
1212 <!-- gpg.defaultKeyring>false</gpg.defaultKeyring-->
13- <gpg .useagent>true</gpg .useagent>
14- <gpg .lockMode>never</gpg .lockMode>
13+ <!-- gpg.useagent>true</gpg.useagent>
14+ <gpg.lockMode>never</gpg.lockMode-- >
1515 <!-- gpg.homedir>/home/aurelien/.gnupg</gpg.homedir>
1616 <gpg.publicKeyring>/home/aurelien/.gnupg/pubring.gpg</gpg.publicKeyring>
1717 <gpg.secretKeyring>/home/aurelien/.gnupg/secring.gpg</gpg.secretKeyring-->
Original file line number Diff line number Diff line change @@ -489,6 +489,9 @@ jobs:
489489 key : ${{ runner.os }}-m2-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/pom.xml') }}
490490 restore-keys : ${{ runner.os }}-m2-${{ secrets.CACHE_VERSION }}
491491 - name : " Deploy on OSS"
492+ env :
493+ SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
494+ SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
492495 run :
493496 ./mvnw clean install deploy
494497 --settings .github/deploy-settings.xml
Original file line number Diff line number Diff line change @@ -160,6 +160,9 @@ jobs:
160160 gpg-private-key : ${{ secrets.RELEASE_GPG_PRIVATE_KEY }}
161161 passphrase : ${{ secrets.RELEASE_GPG_PASSPHRASE }}
162162 - name : " Deploy release"
163+ env :
164+ SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
165+ SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
163166 run :
164167 ./mvnw -Prelease deploy
165168 --settings .github/deploy-settings.xml
You can’t perform that action at this time.
0 commit comments