mirror of
https://github.com/actions/setup-java
synced 2024-12-22 21:22:41 +00:00
actions to steps
This commit is contained in:
parent
08eab173fb
commit
92bf570cdf
1 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ See [action.yml](action.yml)
|
||||||
|
|
||||||
Basic:
|
Basic:
|
||||||
```yaml
|
```yaml
|
||||||
actions:
|
steps:
|
||||||
- uses: actions/checkout@latest
|
- uses: actions/checkout@latest
|
||||||
- uses: actions/setup-java@latest
|
- uses: actions/setup-java@latest
|
||||||
with:
|
with:
|
||||||
|
@ -22,7 +22,7 @@ actions:
|
||||||
|
|
||||||
From local file:
|
From local file:
|
||||||
```yaml
|
```yaml
|
||||||
actions:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- uses: actions/setup-java@master
|
- uses: actions/setup-java@master
|
||||||
with:
|
with:
|
||||||
|
@ -40,7 +40,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
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:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Setup java
|
- name: Setup java
|
||||||
uses: actions/setup-java@master
|
uses: actions/setup-java@master
|
||||||
|
|
Loading…
Reference in a new issue