mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 01:46:46 +00:00
Rename v2-preview to v2 in docs and tests (#151)
This commit is contained in:
parent
b53500dabc
commit
8764a52df1
7 changed files with 17 additions and 21 deletions
|
@ -24,7 +24,7 @@ Inputs `java-version` and `distribution` are mandatory. See [Supported distribut
|
|||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v2-preview
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: 'adopt' # See 'Supported distributions' for available options
|
||||
java-version: '11'
|
||||
|
@ -35,7 +35,7 @@ steps:
|
|||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v2-preview
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: 'zulu' # See 'Supported distributions' for available options
|
||||
java-version: '11'
|
||||
|
@ -68,7 +68,7 @@ For Java distributions that are not cached on Hosted images, `check-latest` alwa
|
|||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v2-preview
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
java-version: '11'
|
||||
|
@ -88,7 +88,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup java
|
||||
uses: actions/setup-java@v2-preview
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: '<distribution>'
|
||||
java-version: ${{ matrix.java }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue