File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ See [action.yml](action.yml)
1616Basic:
1717``` yaml
1818steps :
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)
2828From local file:
2929` ` ` yaml
3030steps :
31- - uses : actions/checkout@master
31+ - uses : actions/checkout@v1
3232- uses : actions/setup-java@v1
3333 with :
3434 java-version : ' 4.0.0'
Original file line number Diff line number Diff line change 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 '
33author : ' GitHub'
44inputs :
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)'
You can’t perform that action at this time.
0 commit comments