From e1f157b4c6ccd60388168696152e1b813104ffc3 Mon Sep 17 00:00:00 2001 From: Gerrit Grunwald Date: Fri, 12 Mar 2021 12:00:06 +0100 Subject: [PATCH] Added debug output --- dist/setup/index.js | 1 + src/installer.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/dist/setup/index.js b/dist/setup/index.js index 20011261..7fb9b39d 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -33749,6 +33749,7 @@ function getDownloadInfo(refs, version, arch, javaPackage, distro = 'zulu') { maxRetries: 3 }); let json = ''; + core.debug(`url: ${url}`); const response = yield http.get(url); const statusCode = response.message.statusCode || 0; if (statusCode == 200) { diff --git a/src/installer.ts b/src/installer.ts index 16fac744..5ae94164 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -282,6 +282,8 @@ async function getDownloadInfo( }); let json: any = ''; + core.debug(`url: ${url}`); + const response = await http.get(url); const statusCode = response.message.statusCode || 0; if (statusCode == 200) {