File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 3232 server-username : MAVEN_USERNAME
3333 server-password : MAVEN_PASSWORD
3434 gpg-private-key : ${{ secrets.SONATYPE_GPG_KEY }} # Value of the GPG private key to import
35- gpg-passphrase : ${{ secrets.SONATYPE_GPG_PASSWORD }}
35+ gpg-passphrase : MAVEN_GPG_PASSPHRASE # Env var name for GPG passphrase
3636
3737 - name : Test and Build
3838 if : ${{ !matrix.sonar-enabled }}
5454 - name : Deploy to Sonatype
5555 if : matrix.deploy-enabled
5656 run : |
57- ./mvnw -B -U -Dstyle.color=always -Prelease deploy -DskipTests=true
57+ ./mvnw -B -U -Dstyle.color=always -Prelease -Psign deploy -DskipTests=true
5858 env :
5959 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6060 MAVEN_USERNAME : ${{ secrets.SONATYPE_TOKEN_ID }}
Original file line number Diff line number Diff line change 378378 <goal >sign</goal >
379379 </goals >
380380 <configuration >
381- <keyname >AA9DC051550F7897</keyname >
382- <useAgent >true</useAgent >
381+ <gpgArguments >
382+ <arg >--pinentry-mode</arg >
383+ <arg >loopback</arg >
384+ </gpgArguments >
383385 </configuration >
384386 </execution >
385387 </executions >
You can’t perform that action at this time.
0 commit comments