Skip to content

Commit

Permalink
update: maven-publish
Browse files Browse the repository at this point in the history
Signed-off-by: Matheus Lenke <[email protected]>
  • Loading branch information
matheuslenke committed Dec 20, 2024
1 parent 6925400 commit 81b20d5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,15 @@ jobs:
env:
GPG_TTY: $(tty)

- name: Verify Secret Key Import
run: gpg --list-secret-keys --keyid-format LONG

- name: Check GPG Version
run: gpg --version

- name: Publish package
run: |
mvn clean deploy -P release -Dgpg.keyname=${{ secrets.GPG_KEY_ID }}
mvn clean deploy -P release -Dgpg.keyname=${{ secrets.GPG_KEY_ID }} -Dgpg.passphrase=${{ secrets.GPG_PASSWORD }}
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
Expand Down

0 comments on commit 81b20d5

Please sign in to comment.