mirror of
https://github.com/actions/setup-java.git
synced 2025-06-30 04:54:14 +00:00
Added support for Microsoft and OpenLogic
This commit is contained in:
parent
7c423484dc
commit
3fb973f2fc
2 changed files with 3 additions and 1 deletions
|
@ -25,8 +25,10 @@ export const DISTROS: string[] = [
|
||||||
'corretto',
|
'corretto',
|
||||||
'dragonwell',
|
'dragonwell',
|
||||||
'liberica',
|
'liberica',
|
||||||
|
'microsoft',
|
||||||
'ojdk_build',
|
'ojdk_build',
|
||||||
'oracle_openjdk',
|
'oracle_openjdk',
|
||||||
|
'open_logic',
|
||||||
'sap_machine',
|
'sap_machine',
|
||||||
'trava',
|
'trava',
|
||||||
'zulu'
|
'zulu'
|
||||||
|
|
|
@ -213,7 +213,7 @@ async function getDownloadInfo(
|
||||||
distribution = distro.toLowerCase();
|
distribution = distro.toLowerCase();
|
||||||
} else {
|
} else {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`distro argument '${distro}' is not in [aoj | aoj_openj9 | corretto | dragonwell | liberica | ojdk_build | oracle_openjdk | sap_machine | trava | zulu]`
|
`distro argument '${distro}' is not in [aoj | aoj_openj9 | corretto | dragonwell | liberica | microsoft | ojdk_build | open_logic | oracle_openjdk | sap_machine | trava | zulu]`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue