Skip to content

Commit 7c96a7c

Browse files
authored
Merge branch 'master' into master
2 parents 7d219e5 + b02f296 commit 7c96a7c

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ 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:
2222
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)
@@ -28,7 +28,7 @@ steps:
2828
From local file:
2929
```yaml
3030
steps:
31-
- uses: actions/checkout@master
31+
- uses: actions/checkout@v1
3232
- uses: actions/setup-java@v1
3333
with:
3434
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 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)'
6+
description: 'The Java version to make available on the path. Takes a whole or semver Java version, or 1.x syntax (e.g. 1.8 => Java 8.x)'
77
required: true
88
java-package:
99
description: 'The package type (jre, jdk, jdk+fx)'

0 commit comments

Comments
 (0)