1
0
Fork 0
mirror of https://github.com/actions/setup-java synced 2024-12-22 21:22:41 +00:00

Merge pull request #20 from jameskleeh/patch-1

JDK 8 specific version help
This commit is contained in:
Konrad Pabjan 2019-11-22 15:30:23 -05:00 committed by GitHub
commit 5c4ee8507d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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