Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable CI and Automated Release Management #41

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rvullriede
Copy link

@rvullriede rvullriede commented Jun 29, 2023

It's unfortunate that this very useful library is not published on Maven Central. Without this only developers who build it locally can use it, which limits its reach.

This PR enabled CI via Github Actions (.github/workflows/maven.yml) and provides an additional actions that automatically releases the artifacts on Maven Central via github's release feature.
In order to make this work, you need to follow these steps:

  1. signup for maven coordinates to pulish on Maven Central: Publishing Guide. Add you Sonartype credentials as Encrypted Secrets named OSSRH_USERNAME and OSSRH_TOKEN.
  2. Create signing keys: https://central.sonatype.org/publish/requirements/gpg/
  3. Add your key and key password also as Encrypted Secrets, named OSSRH_GPG_SECRET_KEY and OSSRH_GPG_SECRET_KEY_PASSWORD. See https://gist.github.com/sualeh/ae78dc16123899d7942bc38baba5203c for additional details.

@rvullriede rvullriede marked this pull request as ready for review June 29, 2023 19:23
@rvullriede
Copy link
Author

If you need help to make this work once the credentials and the signing key are available, I'm happy to support!

@Philipinho
Copy link
Owner

Thank you for the push. I am working on it.

@Philipinho
Copy link
Owner

Sorry, I started halfway then and got overwhelmed and didn't check back again.
All the secret keys have been added to Github. I will work on finalizing the publishing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants