We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee648f1 commit 92d9e68Copy full SHA for 92d9e68
.github/workflows/maven-publish.yml
@@ -21,10 +21,12 @@ jobs:
21
server-id: central
22
server-username: MAVEN_USERNAME
23
server-password: MAVEN_PASSWORD
24
+ gpg-passphrase: MAVEN_GPG_PASSPHRASE
25
- name: Set version
26
run: mvn versions:set -DnewVersion=${{ github.event.release.tag_name }}
27
- name: Publish package
- run: mvn -P release --batch-mode -Dgpg.passphrase=${{ secrets.GPG_SIGNING_KEY_PASSWORD }} deploy
28
+ run: mvn -P release --batch-mode deploy -DskipTests
29
env:
30
MAVEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
31
MAVEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
32
+ MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_SIGNING_KEY_PASSWORD }}
0 commit comments