1
0
Fork 0
mirror of https://github.com/actions/setup-java.git synced 2024-09-19 16:16:43 +00:00

Added the option jdk+crac

Because with Azul Zulu one can also use jdk+crac in combination with version 17 and 21, this was added to the README.md and advanced-usage.md.
This PR contains no code changes, just documentation.
This commit is contained in:
Gerrit Grunwald 2024-02-02 16:59:47 +01:00
parent 7a445ee88d
commit d3af3ec854
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4CDA56B9EE58B1AD
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ This action allows you to work with Java and Scala projects.
- `distribution`: _(required)_ Java [distribution](#supported-distributions).
- `java-package`: The packaging variant of the chosen distribution. Possible values: `jdk`, `jre`, `jdk+fx`, `jre+fx`. Default value: `jdk`.
- `java-package`: The packaging variant of the chosen distribution. Possible values: `jdk`, `jre`, `jdk+fx`, `jre+fx`, `jdk+crac`. Default value: `jdk`.
- `architecture`: The target architecture of the package. Possible values: `x86`, `x64`, `armv7`, `aarch64`, `ppc64le`. Default value: Derived from the runner machine.

View file

@ -58,7 +58,7 @@ steps:
with:
distribution: 'zulu'
java-version: '21'
java-package: jdk # optional (jdk, jre, jdk+fx or jre+fx) - defaults to jdk
java-package: jdk # optional (jdk, jre, jdk+fx or jre+fx, jdk+crac) - defaults to jdk
- run: java -cp java HelloWorldApp
```