Skip to content

Commit 074cac6

Browse files
committed
get logs
1 parent a928beb commit 074cac6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ async function setup() {
1919
const pathToCaps = await tc.downloadTool(getCapsDownloadUrl(version));
2020

2121
// Expose the tool by adding it to the PATH
22-
core.addPath(pathToCr);
23-
core.addPath(pathToCaps);
22+
core.addPath(path.dirname(pathToCr));
23+
console.log(`add to path: ${pathToCr}`);
24+
25+
core.addPath(path.dirname(pathToCaps));
26+
console.log(`add to path: ${pathToCaps}`);
2427
} catch (e) {
2528
core.setFailed(e);
2629
}
@@ -29,5 +32,6 @@ async function setup() {
2932
module.exports = setup;
3033

3134
if (require.main === module) {
35+
console.log("Running setup");
3236
setup();
3337
}

0 commit comments

Comments
 (0)