mirror of
https://github.com/actions/setup-java
synced 2024-12-23 05:34:56 +00:00
Update README.md
This commit is contained in:
parent
2681e89870
commit
08eab173fb
1 changed files with 4 additions and 4 deletions
|
@ -23,8 +23,8 @@ actions:
|
||||||
From local file:
|
From local file:
|
||||||
```yaml
|
```yaml
|
||||||
actions:
|
actions:
|
||||||
- uses: actions/checkout@latest
|
- uses: actions/checkout@master
|
||||||
- uses: actions/setup-java@latest
|
- uses: actions/setup-java@master
|
||||||
with:
|
with:
|
||||||
version: 4.0.0
|
version: 4.0.0
|
||||||
architecture: x64
|
architecture: x64
|
||||||
|
@ -41,9 +41,9 @@ jobs:
|
||||||
java: [ 1.6, 9.0.x, 12.0.2 ]
|
java: [ 1.6, 9.0.x, 12.0.2 ]
|
||||||
name: Java ${{ matrix.java }} sample
|
name: Java ${{ matrix.java }} sample
|
||||||
actions:
|
actions:
|
||||||
- uses: actions/checkout@latest
|
- uses: actions/checkout@master
|
||||||
- name: Setup java
|
- name: Setup java
|
||||||
uses: actions/setup-java@latest
|
uses: actions/setup-java@master
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.java }}
|
version: ${{ matrix.java }}
|
||||||
architecture: x64
|
architecture: x64
|
||||||
|
|
Loading…
Reference in a new issue