Skip to content

Commit e8f1c8b

Browse files
committed
Add Microsoft 11.0.15
1 parent 05b9e39 commit e8f1c8b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

__tests__/distributors/microsoft-installer.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ describe('findPackageForDownload', () => {
2727
'11.0.13',
2828
'11.0.13',
2929
'https://aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}'
30+
],
31+
[
32+
'11.0.15',
33+
'11.0.15',
34+
'https://aka.ms/download-jdk/microsoft-jdk-11.0.15-{{OS_TYPE}}-x64.{{ARCHIVE_TYPE}}'
3035
]
3136
])('version is %s -> %s', async (input, expectedVersion, expectedUrl) => {
3237
const result = await distribution['findPackageForDownload'](input);

src/distributions/microsoft/installer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ export class MicrosoftDistributions extends JavaBase {
9393
jdkVersions.push({
9494
version: [11, 0, 13, 8, 1]
9595
});
96+
jdkVersions.push({
97+
version: [11, 0, 15]
98+
});
9699
}
97100

98101
return jdkVersions;

0 commit comments

Comments
 (0)