mirror of
https://github.com/actions/setup-java
synced 2024-12-22 21:22:41 +00:00
Add distribution input
This commit is contained in:
parent
3c69e15101
commit
c69efbe773
1 changed files with 3 additions and 0 deletions
|
@ -159,16 +159,19 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-java@v3
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
|
distribution: '<distribution>'
|
||||||
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@v3
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
|
distribution: '<distribution>'
|
||||||
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@v3
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
|
distribution: '<distribution>'
|
||||||
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 a new issue