mirror of
https://github.com/actions/setup-java
synced 2024-12-23 05:34:56 +00:00
Merge pull request #20 from jameskleeh/patch-1
JDK 8 specific version help
This commit is contained in:
commit
5c4ee8507d
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: actions/setup-java@v1
|
- uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: '11.0.4' // The Java version to make available on the path. Takes a whole or semver Java version, or 1.x syntax (e.g. 1.8 => Jdk 8.x)
|
java-version: '9.0.4' // The JDK version to make available on the path. Takes a whole or semver JDK version, or 1.x syntax (e.g. 1.8 => Jdk 8.x). To specify a specific version for JDK 8 or older use the following pattern (8.0.x)
|
||||||
java-package: jdk // (jre, jdk, or jdk+fx) - defaults to jdk
|
java-package: jdk // (jre, jdk, or jdk+fx) - defaults to jdk
|
||||||
architecture: x64 // (x64 or x86) - defaults to x64
|
architecture: x64 // (x64 or x86) - defaults to x64
|
||||||
- run: java -cp java HelloWorldApp
|
- run: java -cp java HelloWorldApp
|
||||||
|
|
Loading…
Reference in a new issue