diff --git a/__tests__/distributors/microsoft-installer.test.ts b/__tests__/distributors/microsoft-installer.test.ts index eb77f0e2..40868bba 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 f2a2170f..302ac277 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 147c543f..672b9679 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;