Skip to content

Commit

Permalink
Fix gpg signing issue (#8)
Browse files Browse the repository at this point in the history
* Add return_url field to PostData

* Create ChapaException class to handle 4XX and 5XX response codes

* Prepare 1.2.2 release

* Prepare 1.2.2 release

* Fix broken tests

* Update README.md

* Automate publish to maven to workflow

* Fix gpg signing issues
  • Loading branch information
yaphet17 authored Jun 1, 2023
1 parent 2538296 commit d09e8d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ jobs:
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Publish package
run: mvn --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

0 comments on commit d09e8d0

Please sign in to comment.