We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d12a3f8 commit c96f851Copy full SHA for c96f851
1 file changed
.github/workflows/CD.yml
@@ -36,13 +36,10 @@ jobs:
36
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
37
server-username: OSSRH_USERNAME # env variable for username in deploy
38
server-password: OSSRH_TOKEN # env variable for token in deploy
39
- gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
40
- gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
41
42
- name: Publish package to Maven Central
43
run: |
44
mvn -X --batch-mode deploy -Dmaven.test.skip=true
45
env:
46
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
47
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
48
- MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
0 commit comments