diff --git a/dist/cleanup/index.js b/dist/cleanup/index.js index fb29d8d5..d8be5fee 100644 --- a/dist/cleanup/index.js +++ b/dist/cleanup/index.js @@ -1043,6 +1043,7 @@ exports.DISTROS = [ 'ojdk_build', 'oracle_openjdk', 'sap_machine', + 'trava', 'zulu' ]; diff --git a/dist/setup/index.js b/dist/setup/index.js index 4b612c39..04386175 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -25780,6 +25780,7 @@ exports.DISTROS = [ 'ojdk_build', 'oracle_openjdk', 'sap_machine', + 'trava', 'zulu' ]; @@ -33684,7 +33685,7 @@ function getDownloadInfo(refs, version, arch, javaPackage, distro = 'zulu') { 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 | zulu]`); + throw new Error(`distro argument '${distro}' is not in [aoj | aoj_openj9 | corretto | dragonwell | liberica | ojdk_build | oracle_openjdk | sap_machine | trava | zulu]`); } } else { diff --git a/src/constants.ts b/src/constants.ts index f77d2b06..998c3c65 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -28,5 +28,6 @@ export const DISTROS: string[] = [ 'ojdk_build', 'oracle_openjdk', 'sap_machine', + 'trava', 'zulu' ]; diff --git a/src/installer.ts b/src/installer.ts index 49a1f4fb..7a50ab73 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -216,7 +216,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 | zulu]` + `distro argument '${distro}' is not in [aoj | aoj_openj9 | corretto | dragonwell | liberica | ojdk_build | oracle_openjdk | sap_machine | trava | zulu]` ); } } else {