1
0
Fork 0
mirror of https://github.com/actions/setup-java synced 2024-12-22 21:22:41 +00:00
This commit is contained in:
Danny McCormick 2019-08-01 09:40:31 -04:00 committed by GitHub
parent c0655ddd33
commit 3e0c421c42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -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
View file

@ -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": {

View file

@ -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",