Added distro parameter and make use of disco api

This commit is contained in:
Gerrit Grunwald 2021-03-10 10:15:23 +01:00
parent fc62ccaa4f
commit efa74dc471
7 changed files with 6561 additions and 186 deletions

View file

@ -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: