Merge pull request #331 from AGulev/microsoft-11.0.15

Add Microsoft Java 11.0.15
This commit is contained in:
Marko Zivic 2022-06-08 14:12:35 +02:00 committed by GitHub
commit ec303d3bdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 0 deletions

View file

@ -27,6 +27,11 @@ describe('findPackageForDownload', () => {
'11.0.13',
'11.0.13',
'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) => {
const result = await distribution['findPackageForDownload'](input);

3
dist/setup/index.js vendored
View file

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

View file

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