This repository shows how to configure GitHub Actions, JReleaser, and JReleaser SLSA builder to:
-
compile a helloworld app for the following targets:
-
aarch64-apple-darwin
-
aarch64-unknown-linux-gnu
-
x86_64-apple-darwin
-
x86_64-unknown-linux-gnu
-
x86_64-pc-windows-gnu
-
-
assemble zip distributions with JReleaser
-
create rolling early-acces releases with JReleaser on every push to
mainbranch -
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.
|
-
Zig 0.14.0 or greater.
-
Rust 1.86.0 or greater.
-
Java 11 or greater.
-
JReleaser 1.17.0 or greater.
We recommend SDKMan to install the last two requirements.