mirror of
https://github.com/actions/setup-java.git
synced 2024-11-27 02:06:08 +08:00
Merge pull request #20 from jameskleeh/patch-1
JDK 8 specific version help
This commit is contained in:
commit
5c4ee8507d
@ -19,7 +19,7 @@ steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-java@v1
|
||||
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
|
||||
architecture: x64 // (x64 or x86) - defaults to x64
|
||||
- run: java -cp java HelloWorldApp
|
||||
|
Loading…
Reference in New Issue
Block a user