mirror of
https://github.com/actions/setup-java
synced 2024-11-10 15:42:38 +00:00
v1 (#12)
This commit is contained in:
parent
c0655ddd33
commit
3e0c421c42
3 changed files with 5 additions and 5 deletions
|
@ -13,7 +13,7 @@ Basic:
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@latest
|
- uses: actions/checkout@latest
|
||||||
- uses: actions/setup-java@latest
|
- uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
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)
|
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)
|
||||||
architecture: x64 // (x64 or x86) - defaults to x64
|
architecture: x64 // (x64 or x86) - defaults to x64
|
||||||
|
@ -24,7 +24,7 @@ From local file:
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- uses: actions/setup-java@master
|
- uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
version: 4.0.0
|
version: 4.0.0
|
||||||
architecture: x64
|
architecture: x64
|
||||||
|
@ -43,7 +43,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Setup java
|
- name: Setup java
|
||||||
uses: actions/setup-java@master
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.java }}
|
version: ${{ matrix.java }}
|
||||||
architecture: x64
|
architecture: x64
|
||||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "setup-java",
|
"name": "setup-java",
|
||||||
"version": "0.0.0",
|
"version": "1.0.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "setup-java",
|
"name": "setup-java",
|
||||||
"version": "0.0.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "setup java action",
|
"description": "setup java action",
|
||||||
"main": "lib/setup-java.js",
|
"main": "lib/setup-java.js",
|
||||||
|
|
Loading…
Reference in a new issue