mirror of
https://github.com/actions/setup-java.git
synced 2024-11-23 10:09:03 +00:00
Merge pull request #331 from AGulev/microsoft-11.0.15
Add Microsoft Java 11.0.15
This commit is contained in:
commit
ec303d3bdf
@ -27,6 +27,11 @@ describe('findPackageForDownload', () => {
|
|||||||
'11.0.13',
|
'11.0.13',
|
||||||
'11.0.13',
|
'11.0.13',
|
||||||
'https://aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}'
|
'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) => {
|
])('version is %s -> %s', async (input, expectedVersion, expectedUrl) => {
|
||||||
const result = await distribution['findPackageForDownload'](input);
|
const result = await distribution['findPackageForDownload'](input);
|
||||||
|
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
@ -101729,6 +101729,9 @@ class MicrosoftDistributions extends base_installer_1.JavaBase {
|
|||||||
jdkVersions.push({
|
jdkVersions.push({
|
||||||
version: [11, 0, 13, 8, 1]
|
version: [11, 0, 13, 8, 1]
|
||||||
});
|
});
|
||||||
|
jdkVersions.push({
|
||||||
|
version: [11, 0, 15]
|
||||||
|
});
|
||||||
}
|
}
|
||||||
return jdkVersions;
|
return jdkVersions;
|
||||||
});
|
});
|
||||||
|
@ -93,6 +93,9 @@ export class MicrosoftDistributions extends JavaBase {
|
|||||||
jdkVersions.push({
|
jdkVersions.push({
|
||||||
version: [11, 0, 13, 8, 1]
|
version: [11, 0, 13, 8, 1]
|
||||||
});
|
});
|
||||||
|
jdkVersions.push({
|
||||||
|
version: [11, 0, 15]
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return jdkVersions;
|
return jdkVersions;
|
||||||
|
Loading…
Reference in New Issue
Block a user