This repository shows how to configure GitHub Actions, JReleaser, and JReleaser SLSA builder to:
-
compile a helloworld app for the following targets:
-
linux-amd64
-
linux-arm64
-
darwin-arm64
-
darwin-amd64
-
windows-amd64
-
windows-arm64
-
-
assemble zip distributions with JReleaser
-
create rolling early-access releases with JReleaser on every push to
main
branch -
generate SLSA attestation upon release
❗
|
JReleaser requires 2 additional inputs that may be set as environment variables, JRELEASER_PROJECT_VERSION and JRELEASER_GITHUB_TOKEN .
More information about environment variable configuration may be found in the guide.
|
-
Go 1.24 or greater.
-
Java 11 or greater.
-
JReleaser 1.17.0 or greater.
We recommend SDKMan to install the last two requirements.