From f69f9cdc0b7e44a777b945a6638498bd8b2a9e04 Mon Sep 17 00:00:00 2001 From: Gerrit Grunwald Date: Fri, 12 Mar 2021 11:52:43 +0100 Subject: [PATCH] Defined zulu as default --- dist/setup/index.js | 2 +- src/installer.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 5aa83ae8..20011261 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -33658,7 +33658,7 @@ function unzipJavaDownload(repoRoot, fileEnding, destinationFolder, extension) { } }); } -function getDownloadInfo(refs, version, arch, javaPackage, distro) { +function getDownloadInfo(refs, version, arch, javaPackage, distro = 'zulu') { return __awaiter(this, void 0, void 0, function* () { const architecture = arch === 'x86' ? 'i686' : 'x64'; let operatingSystem = ''; diff --git a/src/installer.ts b/src/installer.ts index 749567fb..16fac744 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -192,7 +192,7 @@ async function getDownloadInfo( version: string, arch: string, javaPackage: string, - distro: string + distro: string = 'zulu' ): Promise<{version: string; url: string}> { const architecture = arch === 'x86' ? 'i686' : 'x64'; let operatingSystem = '';