utPLSQL / utPLSQL-cli

Command line client for invoking utPLSQL
Apache License 2.0
40 stars 15 forks source link

Github Actions to create release artifacts #205

Open pesse opened 2 years ago

pesse commented 2 years ago

At the moment, there is no Github Actions workflow to create release artifacts.

What it should include:

Any help really appreciated.

jgebal commented 2 years ago

I'll be happy to look into that

simasch commented 2 years ago

@pesse and @jgebal Have you had a look at how I do that in https://github.com/utPLSQL/utPLSQL-maven-plugin

I even deploy to Maven Central.

simasch commented 2 years ago
  1. Step: use GitHub Packages
  2. Step: use JReleaser to deploy to various platforms (GitHub Packages, sdkman etc)
aalmiray commented 2 years ago

Hello! FWIW you can use Maven's appassembler and assembly plugins to create binary distributions. The 1st plugin creates the layout with a launchable script plus all dependencies while the second creates a zip file. Once you have a binary distribution releasing with JReleaser is pretty much straight forward, as shown at

https://jreleaser.org/guide/latest/quick-start/maven.html https://github.com/aalmiray/app/

Be aware that releasing to GitHub Packages still requires consumers to input their GitHub credentials for reading.

simasch commented 2 years ago

Thanks @aalmiray We already use these two plugins plus a checksum plugin to add the files to the release in Github. We will not use Github Packages.