fix: switch to check messages to debug

This commit is contained in:
Jonathan Camara 2022-04-27 16:26:36 -05:00
parent e5e4b2086f
commit 62f144899a
No known key found for this signature in database
GPG key ID: E87744B8CC664ACD
2 changed files with 4 additions and 2 deletions

3
dist/index.js vendored
View file

@ -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);