Skip to content

Commit 92d9e68

Browse files
committed
Lets not skip gpg2
1 parent ee648f1 commit 92d9e68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/maven-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ jobs:
2121
server-id: central
2222
server-username: MAVEN_USERNAME
2323
server-password: MAVEN_PASSWORD
24+
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2425
- name: Set version
2526
run: mvn versions:set -DnewVersion=${{ github.event.release.tag_name }}
2627
- name: Publish package
27-
run: mvn -P release --batch-mode -Dgpg.passphrase=${{ secrets.GPG_SIGNING_KEY_PASSWORD }} deploy
28+
run: mvn -P release --batch-mode deploy -DskipTests
2829
env:
2930
MAVEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
3031
MAVEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
32+
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_SIGNING_KEY_PASSWORD }}

0 commit comments

Comments
 (0)