Skip to content

Commit

Permalink
get logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Mar 7, 2024
1 parent a928beb commit 074cac6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ async function setup() {
const pathToCaps = await tc.downloadTool(getCapsDownloadUrl(version));

// Expose the tool by adding it to the PATH
core.addPath(pathToCr);
core.addPath(pathToCaps);
core.addPath(path.dirname(pathToCr));
console.log(`add to path: ${pathToCr}`);

core.addPath(path.dirname(pathToCaps));
console.log(`add to path: ${pathToCaps}`);
} catch (e) {
core.setFailed(e);
}
Expand All @@ -29,5 +32,6 @@ async function setup() {
module.exports = setup;

if (require.main === module) {
console.log("Running setup");
setup();
}

0 comments on commit 074cac6

Please sign in to comment.