Update README.md

This commit is contained in:
Gil Tene 2019-11-02 18:47:58 -07:00 committed by GitHub
parent f5880a80aa
commit 89a3e62acc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,8 +19,9 @@ steps:
- uses: actions/checkout@latest - uses: actions/checkout@latest
- uses: actions/setup-java@v1 - uses: actions/setup-java@v1
with: with:
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) java-version: '11.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)
architecture: x64 // (x64 or x86) - defaults to x64 java-package: jdk // (jre, jdk, or jdk+fx) - optional, defaults to jdk
architecture: x64 // (x64 or x86) - optional, defaults to x64
- run: java -cp java HelloWorldApp - run: java -cp java HelloWorldApp
``` ```
@ -31,8 +32,7 @@ steps:
- uses: actions/setup-java@v1 - uses: actions/setup-java@v1
with: with:
java-version: '4.0.0' java-version: '4.0.0'
architecture: x64 jdkFile: <path to jdkFile> # Optional - jdkFile to install java from. Useful for versions not on the Zulu Community CDN.
jdkFile: <path to jdkFile> # Optional - jdkFile to install java from. Useful for versions not supported by Azul
- run: java -cp java HelloWorldApp - run: java -cp java HelloWorldApp
``` ```
@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-16.04 runs-on: ubuntu-16.04
strategy: strategy:
matrix: matrix:
java: [ '1.6', '9.0.x', '12.0.2' ] java: [ 1.6, 7, 7.0.181, 8, 8.0.192, 9.0.x, 11.0.x, 11.0.3, 12, 13, 13.0.1 ]
name: Java ${{ matrix.java }} sample name: Java ${{ matrix.java }} sample
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
@ -51,7 +51,6 @@ jobs:
uses: actions/setup-java@v1 uses: actions/setup-java@v1
with: with:
java-version: ${{ matrix.java }} java-version: ${{ matrix.java }}
architecture: x64
- run: java -cp java HelloWorldApp - run: java -cp java HelloWorldApp
``` ```