This repository was archived by the owner on Mar 12, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,12 @@ jobs:
1515 server-id : ossrh
1616 server-username : MAVEN_USERNAME
1717 server-password : MAVEN_PASSWORD
18- - id : install-secret-key
19- name : Install gpg secret key
20- run : |
21- cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
22- gpg --list-secret-keys --keyid-format LONG
18+ gpg-private-key : ${{ secrets.OSSRH_GPG_SECRET_KEY }}
19+ gpg-passphrase : MAVEN_GPG_PASSPHRASE
2320 - name : Publish package
2421 env :
2522 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
2623 MAVEN_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
27- run : mvn --batch-mode -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} clean deploy
24+ MAVEN_GPG_PASSPHRASE : ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
25+ run : |
26+ mvn clean deploy -P deploy -Dmaven.test.skip
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 >1.5 </version >
511+ <version >3.1.0 </version >
512512 <executions >
513513 <execution >
514514 <id >sign-artifacts</id >
You can’t perform that action at this time.
0 commit comments