Skip to content

Commit 0ff2db3

Browse files
debug path to zip failed
1 parent a0b9943 commit 0ff2db3

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

dist/index.js

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6725,16 +6725,12 @@ async function downloadCLI(){
67256725
const url = urls['ubuntu']
67266726
const pathToCLIZip = await tc.downloadTool(url);
67276727

6728+
console.log('path to CLI Zip is %o', pathToCLIZip)
6729+
67286730
let pathToCLI = '';
6729-
if (os.platform().startsWith('win')) {
6730-
core.debug(`Stackql CLI Download Path is ${pathToCLIZip}`);
6731-
const fixedPathToCLIZip = `${pathToCLIZip}.zip`;
6732-
io.mv(pathToCLIZip, fixedPathToCLIZip);
6733-
core.debug(`Moved download to ${fixedPathToCLIZip}`);
6734-
pathToCLI = await tc.extractZip(fixedPathToCLIZip);
6735-
} else {
6736-
pathToCLI = await tc.extractZip(pathToCLIZip);
6737-
}
6731+
6732+
pathToCLI = await tc.extractZip(pathToCLIZip);
6733+
67386734
core.addPath(pathToCLI);
67396735

67406736

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)