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 e79f51d commit 3ba1cd0Copy full SHA for 3ba1cd0
.github/workflows/publish-maven.yml
@@ -16,10 +16,14 @@ jobs:
16
with:
17
java-version: '11'
18
distribution: 'temurin'
19
+ server-id: ossrh
20
+ server-username: MAVEN_USERNAME
21
+ server-password: MAVEN_PASSWORD
22
- name: Configure GPG Key
23
run: |
24
echo -n "${{ secrets.GPG_SIGNING_KEY }}" | base64 --decode | gpg --import --batch
25
- name: Publish package
26
run: mvn --batch-mode deploy -Dgpg.passphrase='${{ secrets.GPG_PASSWORD }}'
27
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
+ MAVEN_USERNAME: ${{ secrets.MAVEN_OSSRH_USERNAME }}
29
+ MAVEN_PASSWORD: ${{ secrets.MAVEN_OSSRH_TOKEN }}
0 commit comments