This commit is contained in:
David Liu 2024-03-22 03:47:53 +00:00 committed by GitHub
commit eb9523a68a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
@ -206,7 +204,6 @@ steps:
distribution: 'temurin'
java-version: '21'
check-latest: true
- run: java HelloWorldApp.java
```
### Testing against different Java versions
@ -225,7 +222,6 @@ jobs:
with:
distribution: '<distribution>'
java-version: ${{ matrix.java }}
- run: java HelloWorldApp.java
```
### Install multiple JDKs