mirror of
https://github.com/actions/setup-java.git
synced 2024-11-13 21:48:05 +00:00
Merge 8cd9b686db
into bcfbca5b71
This commit is contained in:
commit
0446c8061e
@ -74,7 +74,6 @@ steps:
|
||||
with:
|
||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
||||
java-version: '21'
|
||||
- run: java HelloWorldApp.java
|
||||
```
|
||||
|
||||
#### Azul Zulu OpenJDK
|
||||
@ -85,7 +84,6 @@ steps:
|
||||
with:
|
||||
distribution: 'zulu' # See 'Supported distributions' for available options
|
||||
java-version: '21'
|
||||
- run: java HelloWorldApp.java
|
||||
```
|
||||
|
||||
#### Supported version syntax
|
||||
@ -207,7 +205,6 @@ steps:
|
||||
distribution: 'temurin'
|
||||
java-version: '21'
|
||||
check-latest: true
|
||||
- run: java HelloWorldApp.java
|
||||
```
|
||||
|
||||
### Testing against different Java versions
|
||||
@ -226,7 +223,6 @@ jobs:
|
||||
with:
|
||||
distribution: '<distribution>'
|
||||
java-version: ${{ matrix.java }}
|
||||
- run: java HelloWorldApp.java
|
||||
```
|
||||
|
||||
### Install multiple JDKs
|
||||
|
Loading…
Reference in New Issue
Block a user