Skip to content

Commit 232795a

Browse files
author
Danny McCormick
authored
Quoting
1 parent 3e0c421 commit 232795a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ steps:
1515
- uses: actions/checkout@latest
1616
- uses: actions/setup-java@v1
1717
with:
18-
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)
18+
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)
1919
architecture: x64 // (x64 or x86) - defaults to x64
2020
- run: java -cp java HelloWorldApp
2121
```
@@ -26,7 +26,7 @@ steps:
2626
- uses: actions/checkout@master
2727
- uses: actions/setup-java@v1
2828
with:
29-
version: 4.0.0
29+
version: '4.0.0'
3030
architecture: x64
3131
jdkFile: <path to jdkFile> // Optional - jdkFile to install java from. Useful for versions not supported by Azul
3232
- run: java -cp java HelloWorldApp
@@ -36,9 +36,10 @@ Matrix Testing:
3636
```yaml
3737
jobs:
3838
build:
39+
runs-on: ubuntu-16.04
3940
strategy:
4041
matrix:
41-
java: [ 1.6, 9.0.x, 12.0.2 ]
42+
java: [ '1.6', '9.0.x', '12.0.2' ]
4243
name: Java ${{ matrix.java }} sample
4344
steps:
4445
- uses: actions/checkout@master

0 commit comments

Comments
 (0)