Skip to content

Commit

Permalink
fix: Add absolute path for bin
Browse files Browse the repository at this point in the history
  • Loading branch information
riosje committed Jun 7, 2024
1 parent a58838b commit a1c3204
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32815,14 +32815,14 @@ async function downloadNsolid(metadata) {
"--strip",
"4",
]);
return toolPath;
return `${downloadPath}/${toolPath}`;
}
console.log("downloadPath", downloadPath)
downloadPath = await tool_cache.downloadTool(metadata.url);
console.log("downloadPath", downloadPath)
const toolPath = await tool_cache.extractTar(downloadPath, fileName, ["xz", "--strip", "1"]);
console.log("toolPath", toolPath)
return toolPath;
return `${downloadPath}/${toolPath}`;
}

;// CONCATENATED MODULE: ./src/main.js
Expand Down
4 changes: 2 additions & 2 deletions src/lib/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ async function downloadNsolid(metadata) {
"--strip",
"4",
]);
return toolPath;
return `${downloadPath}/${toolPath}`;
}
console.log("downloadPath", downloadPath)
downloadPath = await tc.downloadTool(metadata.url);
console.log("downloadPath", downloadPath)
const toolPath = await tc.extractTar(downloadPath, fileName, ["xz", "--strip", "1"]);
console.log("toolPath", toolPath)
return toolPath;
return `${downloadPath}/${toolPath}`;
}

0 comments on commit a1c3204

Please sign in to comment.