diff --git a/src/constants.ts b/src/constants.ts index 6987e650..35805f17 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -25,8 +25,10 @@ export const DISTROS: string[] = [ 'corretto', 'dragonwell', 'liberica', + 'microsoft', 'ojdk_build', 'oracle_openjdk', + 'open_logic', 'sap_machine', 'trava', 'zulu' diff --git a/src/installer.ts b/src/installer.ts index c662699e..00c84401 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -213,7 +213,7 @@ async function getDownloadInfo( distribution = distro.toLowerCase(); } else { 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 {