From cd2bc4097e60fe488f2688cd18f9dafdb7801513 Mon Sep 17 00:00:00 2001 From: George Adams Date: Wed, 16 Mar 2022 14:47:02 +0100 Subject: [PATCH] bump microsoft openjdk versions fixes: https://github.com/actions/setup-java/issues/296 --- dist/setup/index.js | 4 ++-- src/distributions/microsoft/installer.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index b1445c71..e3f778fd 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -13917,7 +13917,7 @@ class MicrosoftDistributions extends base_installer_1.JavaBase { // We will need Microsoft to add an endpoint where we can query for versions. const jdkVersions = [ { - version: [17, 0, 1, 12, 1] + version: [17, 0, 2, 8, 1] }, { version: [16, 0, 2, 7, 1] @@ -13926,7 +13926,7 @@ class MicrosoftDistributions extends base_installer_1.JavaBase { // M1 is only supported for Java 16 & 17 if (process.platform !== 'darwin' || this.architecture !== 'aarch64') { jdkVersions.push({ - version: [11, 0, 13, 8, 1] + version: [11, 0, 14, 1, 1] }); } return jdkVersions; diff --git a/src/distributions/microsoft/installer.ts b/src/distributions/microsoft/installer.ts index 147c543f..7cf9401f 100644 --- a/src/distributions/microsoft/installer.ts +++ b/src/distributions/microsoft/installer.ts @@ -81,7 +81,7 @@ export class MicrosoftDistributions extends JavaBase { // We will need Microsoft to add an endpoint where we can query for versions. const jdkVersions = [ { - version: [17, 0, 1, 12, 1] + version: [17, 0, 2, 8, 1] }, { version: [16, 0, 2, 7, 1] @@ -91,7 +91,7 @@ export class MicrosoftDistributions extends JavaBase { // M1 is only supported for Java 16 & 17 if (process.platform !== 'darwin' || this.architecture !== 'aarch64') { jdkVersions.push({ - version: [11, 0, 13, 8, 1] + version: [11, 0, 14, 1, 1] }); }