mirror of
https://github.com/actions/setup-java
synced 2024-12-22 05:02:41 +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
3 changed files with 11 additions and 0 deletions
|
@ -27,6 +27,11 @@ describe('findPackageForDownload', () => {
|
|||
'11.0.13',
|
||||
'11.0.13',
|
||||
'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) => {
|
||||
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({
|
||||
version: [11, 0, 13, 8, 1]
|
||||
});
|
||||
jdkVersions.push({
|
||||
version: [11, 0, 15]
|
||||
});
|
||||
}
|
||||
return jdkVersions;
|
||||
});
|
||||
|
|
|
@ -93,6 +93,9 @@ export class MicrosoftDistributions extends JavaBase {
|
|||
jdkVersions.push({
|
||||
version: [11, 0, 13, 8, 1]
|
||||
});
|
||||
jdkVersions.push({
|
||||
version: [11, 0, 15]
|
||||
});
|
||||
}
|
||||
|
||||
return jdkVersions;
|
||||
|
|
Loading…
Reference in a new issue