bump microsoft openjdk versions

fixes: https://github.com/actions/setup-java/issues/296
This commit is contained in:
George Adams 2022-03-16 14:47:02 +01:00 committed by George Adams
parent f69f00b5e5
commit cd2bc4097e
No known key found for this signature in database
GPG key ID: 7B8D7E4421A0916D
2 changed files with 4 additions and 4 deletions

4
dist/setup/index.js vendored
View file

@ -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;