moditect / layrry

A Runner and API for Layered Java Applications
Apache License 2.0
332 stars 33 forks source link

Configure publication to Maven Central using Github actions #86

Closed aalmiray closed 2 years ago

aalmiray commented 3 years ago

Bintray is sunseting on May 1st 2021. We need an alternative

https://github.com/adobe/S3Mock/blob/main/.github/workflows/maven-release.yml

https://github.com/raphw/byte-buddy/blob/master/.github/workflows/main.yml#L93

https://bjansen.github.io/java/2021/02/03/deploying-to-maven-central-using-github-actions.html

gunnarmorling commented 3 years ago

Yes, would love to do this via GH Actions. But let's make sure to use a dedicated user account for that. If needed, I can request a new Sonatype user id and have it assigned.

aalmiray commented 3 years ago

We will need github tokens and other secrets as well. We can have them for this repository alone or setup at the moditect org to be reused by other projects that may need publication to MC.

gunnarmorling commented 3 years ago

Yes, if we can do this once for the entire ModiTect org, that would be great. One of the reasons that ModiTect itself isn't evolving a lot is that releases were such a hassle.

aalmiray commented 3 years ago

It's overhaulin' time! Vroom vroom!

github-actions[bot] commented 1 year ago

Released in v1.0.0.Alpha2 -> https://github.com/moditect/layrry/releases/tag/v1.0.0.Alpha2