mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-27 21:43:38 +00:00
fix: switch to check messages to debug
This commit is contained in:
parent
e5e4b2086f
commit
62f144899a
2 changed files with 4 additions and 2 deletions
3
dist/index.js
vendored
3
dist/index.js
vendored
|
|
@ -38,9 +38,10 @@ async function downloadCLI (url) {
|
||||||
core.debug(`Downloading Terraform CLI from ${url}`);
|
core.debug(`Downloading Terraform CLI from ${url}`);
|
||||||
const pathToCLIZip = await tc.downloadTool(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`
|
fixedPathToCLIZip=`${pathToCLIZip}.zip`
|
||||||
io.mv(pathToCLIZip,fixedPathToCLIZip)
|
io.mv(pathToCLIZip,fixedPathToCLIZip)
|
||||||
|
core.debug(`Moved download to ${fixedPathToCLIZip}`)
|
||||||
|
|
||||||
core.debug('Extracting Terraform CLI zip file');
|
core.debug('Extracting Terraform CLI zip file');
|
||||||
const pathToCLI = await tc.extractZip(fixedPathToCLIZip);
|
const pathToCLI = await tc.extractZip(fixedPathToCLIZip);
|
||||||
|
|
|
||||||
|
|
@ -32,9 +32,10 @@ async function downloadCLI (url) {
|
||||||
core.debug(`Downloading Terraform CLI from ${url}`);
|
core.debug(`Downloading Terraform CLI from ${url}`);
|
||||||
const pathToCLIZip = await tc.downloadTool(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`
|
fixedPathToCLIZip=`${pathToCLIZip}.zip`
|
||||||
io.mv(pathToCLIZip,fixedPathToCLIZip)
|
io.mv(pathToCLIZip,fixedPathToCLIZip)
|
||||||
|
core.debug(`Moved download to ${fixedPathToCLIZip}`)
|
||||||
|
|
||||||
core.debug('Extracting Terraform CLI zip file');
|
core.debug('Extracting Terraform CLI zip file');
|
||||||
const pathToCLI = await tc.extractZip(fixedPathToCLIZip);
|
const pathToCLI = await tc.extractZip(fixedPathToCLIZip);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue