mirror of
https://github.com/actions/setup-java
synced 2024-12-22 13:12:43 +00:00
Add Microsoft 11.0.15
This commit is contained in:
parent
05b9e395e1
commit
e8f1c8b5ca
2 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||||
|
|
|
@ -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 a new issue