Skip to content

Commit 6c86708

Browse files
committed
update maven snapshot config
1 parent 3c0da99 commit 6c86708

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/snapshot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@ jobs:
2121
server-id: sonatype-nexus-staging
2222
server-username: MAVEN_USERNAME
2323
server-password: MAVEN_PASSWORD
24+
gpg-private-key: ${{ secrets.CENTRAL_GPG_SECRET_KEY }}
25+
gpg-passphrase: GPG_PASSPHRASE
2426
- name: Publish to Maven
2527
run: mvn -ntp -B --fail-at-end -Dmaven.test.skip=true clean deploy
2628
env:
2729
MAVEN_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
2830
MAVEN_PASSWORD: ${{ secrets.CENTRAL_PASSWORD }}
31+
GPG_PASSPHRASE: ${{ secrets.CENTRAL_GPG_SECRET_KEY_PASSWORD }}

0 commit comments

Comments
 (0)