Compare commits

...

4 Commits

Author SHA1 Message Date
Julien Dubois
0546d3ec16
Merge 447ed6f2d0 into 387ac29b30 2023-11-29 07:29:25 -08:00
Julien Dubois
447ed6f2d0 Add Java 21 support in the documentation 2023-09-22 16:26:54 +02:00
Julien Dubois
7206b0eb43 Fix tests 2023-09-22 16:21:08 +02:00
Julien Dubois
6c633eb725 Allow Oracle JDK 21 usage 2023-09-22 15:02:15 +02:00
3 changed files with 7 additions and 2 deletions

View File

@ -90,7 +90,7 @@ steps:
#### Supported version syntax
The `java-version` input supports an exact version or a version range using [SemVer](https://semver.org/) notation:
- major versions: `8`, `11`, `16`, `17`
- major versions: `8`, `11`, `16`, `17`, `21`
- more specific versions: `17.0`, `11.0`, `11.0.4`, `8.0.232`, `8.0.282+8`
- early access (EA) versions: `15-ea`, `15.0.0-ea`, `15.0.0-ea.2`, `15.0.0+2-ea`

View File

@ -22,6 +22,11 @@ describe('findPackageForDownload', () => {
});
it.each([
[
'21',
'21',
'https://download.oracle.com/java/21/latest/jdk-21_{{OS_TYPE}}-x64_bin.{{ARCHIVE_TYPE}}'
],
[
'20',
'20',

View File

@ -121,7 +121,7 @@ steps:
- uses: actions/setup-java@v3
with:
distribution: 'oracle'
java-version: '17'
java-version: '21'
- run: java -cp java HelloWorldApp
```