Skip to content

Commit dd10aa8

Browse files
authored
Merge branch 'master' into patch-1
2 parents 0cd7033 + b02f296 commit dd10aa8

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ See [action.yml](action.yml)
1616
Basic:
1717
```yaml
1818
steps:
19-
- uses: actions/checkout@latest
19+
- uses: actions/checkout@v1
2020
- uses: actions/setup-java@v1
2121
with:
22-
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)
22+
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)
2323
architecture: x64 // (x64 or x86) - defaults to x64
2424
- run: java -cp java HelloWorldApp
2525
```
2626
2727
From local file:
2828
```yaml
2929
steps:
30-
- uses: actions/checkout@master
30+
- uses: actions/checkout@v1
3131
- uses: actions/setup-java@v1
3232
with:
3333
java-version: '4.0.0'

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: 'Setup Java environment'
2-
description: 'Setup your runner with Java'
1+
name: 'Setup Java JDK'
2+
description: 'Set up a specific version of the Java JDK and add the command-line tools to the PATH'
33
author: 'GitHub'
44
inputs:
55
java-version:
6-
description: '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)'
6+
description: '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)'
77
required: true
88
architecture:
99
description: 'The architecture (x86, x64) of the JDK.'

0 commit comments

Comments
 (0)