mirror of
https://github.com/actions/setup-java.git
synced 2024-11-12 04:48:03 +00:00
use @v3 version
This commit is contained in:
parent
66a84830d9
commit
3c69e15101
@ -157,17 +157,17 @@ jobs:
|
|||||||
### Install multiple JDKs
|
### Install multiple JDKs
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-java@v1
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 8
|
java-version: 8
|
||||||
- run: echo "JAVA_8=$JAVA_HOME" >> $GITHUB_ENV
|
- run: echo "JAVA_8=$JAVA_HOME" >> $GITHUB_ENV
|
||||||
|
|
||||||
- uses: actions/setup-java@v1
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
- run: echo "JAVA_11=$JAVA_HOME" >> $GITHUB_ENV
|
- run: echo "JAVA_11=$JAVA_HOME" >> $GITHUB_ENV
|
||||||
|
|
||||||
- uses: actions/setup-java@v1
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 15
|
java-version: 15
|
||||||
- run: echo "JAVA_15=$JAVA_HOME" >> $GITHUB_ENV
|
- run: echo "JAVA_15=$JAVA_HOME" >> $GITHUB_ENV
|
||||||
|
Loading…
Reference in New Issue
Block a user