File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,9 +175,9 @@ jobs:
175175 - name : Build and Deploy release artifacts
176176 env :
177177 MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
178+ MAVEN_GPG_KEY : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
178179 run : |
179180 java -version
180181 mvn -version
181- echo "<settings><servers><server><id>central</id><username>${{ secrets.CI_DEPLOY_USERNAME }}</username><password>${{ secrets.CI_DEPLOY_PASSWORD }}</password></server></servers></settings>" > $HOME/.m2/settings.xml
182- mvn deploy -Pdeploying -Preleasing -B -e -Dgpg.passphrase="${{ secrets.MAVEN_GPG_PASSPHRASE }}"
182+ mvn deploy -Pdeploying -Preleasing -B -e
183183
Original file line number Diff line number Diff line change 508508 <plugin >
509509 <groupId >org.apache.maven.plugins</groupId >
510510 <artifactId >maven-gpg-plugin</artifactId >
511- <version >3.1.0 </version >
511+ <version >3.2.4 </version >
512512 <executions >
513513 <execution >
514514 <id >sign-artifacts</id >
519519 </execution >
520520 </executions >
521521 <configuration >
522- <gpgArguments >
523- <arg >--pinentry-mode</arg >
524- <arg >loopback</arg >
525- </gpgArguments >
522+ <signer >bc</signer >
526523 </configuration >
527524 </plugin >
528525 <plugin >
You can’t perform that action at this time.
0 commit comments