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

Add Microsoft 11.0.15

This commit is contained in:
AGulev 2022-05-24 19:12:23 +02:00
parent 05b9e395e1
commit e8f1c8b5ca
2 changed files with 8 additions and 0 deletions

View file

@ -27,6 +27,11 @@ describe('findPackageForDownload', () => {
'11.0.13', '11.0.13',
'11.0.13', '11.0.13',
'https://aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}' 'https://aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}'
],
[
'11.0.15',
'11.0.15',
'https://aka.ms/download-jdk/microsoft-jdk-11.0.15-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}'
] ]
])('version is %s -> %s', async (input, expectedVersion, expectedUrl) => { ])('version is %s -> %s', async (input, expectedVersion, expectedUrl) => {
const result = await distribution['findPackageForDownload'](input); const result = await distribution['findPackageForDownload'](input);

View file

@ -93,6 +93,9 @@ export class MicrosoftDistributions extends JavaBase {
jdkVersions.push({ jdkVersions.push({
version: [11, 0, 13, 8, 1] version: [11, 0, 13, 8, 1]
}); });
jdkVersions.push({
version: [11, 0, 15]
});
} }
return jdkVersions; return jdkVersions;