From 62f144899ac380ba3ef932769ea0f7da8ab73fbe Mon Sep 17 00:00:00 2001 From: Jonathan Camara Date: Wed, 27 Apr 2022 16:26:36 -0500 Subject: [PATCH] fix: switch to check messages to debug --- dist/index.js | 3 ++- lib/setup-terraform.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 3116cdb..ab6708a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -38,9 +38,10 @@ async function downloadCLI (url) { core.debug(`Downloading Terraform CLI from ${url}`); const pathToCLIZip = await tc.downloadTool(url); - core.info(`Terraform CLI Download Path is ${pathToCLIZip}`) + core.debug(`Terraform CLI Download Path is ${pathToCLIZip}`) fixedPathToCLIZip=`${pathToCLIZip}.zip` io.mv(pathToCLIZip,fixedPathToCLIZip) + core.debug(`Moved download to ${fixedPathToCLIZip}`) core.debug('Extracting Terraform CLI zip file'); const pathToCLI = await tc.extractZip(fixedPathToCLIZip); diff --git a/lib/setup-terraform.js b/lib/setup-terraform.js index 5e5288a..c4a080f 100644 --- a/lib/setup-terraform.js +++ b/lib/setup-terraform.js @@ -32,9 +32,10 @@ async function downloadCLI (url) { core.debug(`Downloading Terraform CLI from ${url}`); const pathToCLIZip = await tc.downloadTool(url); - core.info(`Terraform CLI Download Path is ${pathToCLIZip}`) + core.debug(`Terraform CLI Download Path is ${pathToCLIZip}`) fixedPathToCLIZip=`${pathToCLIZip}.zip` io.mv(pathToCLIZip,fixedPathToCLIZip) + core.debug(`Moved download to ${fixedPathToCLIZip}`) core.debug('Extracting Terraform CLI zip file'); const pathToCLI = await tc.extractZip(fixedPathToCLIZip);