We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a928beb commit 074cac6Copy full SHA for 074cac6
index.js
@@ -19,8 +19,11 @@ async function setup() {
19
const pathToCaps = await tc.downloadTool(getCapsDownloadUrl(version));
20
21
// Expose the tool by adding it to the PATH
22
- core.addPath(pathToCr);
23
- core.addPath(pathToCaps);
+ core.addPath(path.dirname(pathToCr));
+ console.log(`add to path: ${pathToCr}`);
24
+
25
+ core.addPath(path.dirname(pathToCaps));
26
+ console.log(`add to path: ${pathToCaps}`);
27
} catch (e) {
28
core.setFailed(e);
29
}
@@ -29,5 +32,6 @@ async function setup() {
32
module.exports = setup;
30
33
31
34
if (require.main === module) {
35
+ console.log("Running setup");
36
setup();
37
0 commit comments