diff --git a/__tests__/distributors/microsoft-installer.test.ts b/__tests__/distributors/microsoft-installer.test.ts index eb77f0e2a..40868bba2 100644 --- a/__tests__/distributors/microsoft-installer.test.ts +++ b/__tests__/distributors/microsoft-installer.test.ts @@ -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); diff --git a/dist/setup/index.js b/dist/setup/index.js index f2a2170f5..302ac277d 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -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; }); diff --git a/src/distributions/microsoft/installer.ts b/src/distributions/microsoft/installer.ts index 147c543f3..672b9679e 100644 --- a/src/distributions/microsoft/installer.ts +++ b/src/distributions/microsoft/installer.ts @@ -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;