1
0
Fork 0
mirror of https://github.com/actions/setup-java synced 2024-11-09 15:12:39 +00:00

Oracle JDK 21 support (#538)

* Allow Oracle JDK 21 usage

* Fix tests

* Add Java 21 support in the documentation

---------

Co-authored-by: Ivan Zosimov <ivanzosimov@github.com>
This commit is contained in:
Julien Dubois 2023-12-14 14:46:05 +01:00 committed by GitHub
parent c0660d8edc
commit 3232623d9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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