From e8f1c8b5cac39d1debdb14c3a64be3e8b907bd20 Mon Sep 17 00:00:00 2001 From: AGulev Date: Tue, 24 May 2022 19:12:23 +0200 Subject: [PATCH 1/2] Add Microsoft 11.0.15 --- __tests__/distributors/microsoft-installer.test.ts | 5 +++++ src/distributions/microsoft/installer.ts | 3 +++ 2 files changed, 8 insertions(+) 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/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; From 72dec17e4fbb46a37c069c4a033b40a467ec8e72 Mon Sep 17 00:00:00 2001 From: AGulev Date: Wed, 25 May 2022 08:41:31 +0200 Subject: [PATCH 2/2] index.js --- dist/setup/index.js | 3 +++ 1 file changed, 3 insertions(+) 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; });