mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +00:00
Added distro parameter and make use of disco api
This commit is contained in:
parent
fc62ccaa4f
commit
efa74dc471
7 changed files with 6561 additions and 186 deletions
|
@ -22,6 +22,7 @@ steps:
|
|||
java-version: '9.0.4' # The JDK version to make available on the path.
|
||||
java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk
|
||||
architecture: x64 # (x64 or x86) - defaults to x64
|
||||
distro : zulu #(aoj, aoj_openj9, corretto, dragonwell, liberica, ojdk_build, oracle_open_jdk, sap_machine, zulu) - defaults to zulu
|
||||
- run: java -cp java HelloWorldApp
|
||||
```
|
||||
Examples of version specifications that the java-version parameter will accept:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue