Test debug message

This commit is contained in:
AlyonaSviridenko 2021-08-03 19:16:44 +03:00
parent 40e244d750
commit 5f10e344c2
2 changed files with 2 additions and 0 deletions

1
dist/index.js vendored
View file

@ -12344,6 +12344,7 @@ function acquireNode(version) {
let downloadUrl = `https://nodejs.org/dist/v${version}/${urlFileName}`; let downloadUrl = `https://nodejs.org/dist/v${version}/${urlFileName}`;
let downloadPath; let downloadPath;
try { try {
core.info(`Downloading ${downloadUrl}`);
downloadPath = yield tc.downloadTool(downloadUrl); downloadPath = yield tc.downloadTool(downloadUrl);
} }
catch (err) { catch (err) {

View file

@ -148,6 +148,7 @@ async function acquireNode(version: string): Promise<string> {
let downloadPath: string; let downloadPath: string;
try { try {
core.info(`Downloading ${downloadUrl}`);
downloadPath = await tc.downloadTool(downloadUrl); downloadPath = await tc.downloadTool(downloadUrl);
} catch (err) { } catch (err) {
if (err instanceof tc.HTTPError && err.httpStatusCode == 404) { if (err instanceof tc.HTTPError && err.httpStatusCode == 404) {