Skip to content

Commit 2de2c4c

Browse files
committed
Test path.
1 parent 8a7f310 commit 2de2c4c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/main.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ async function run(): Promise<void> {
5555
}
5656
}
5757

58+
console.log("__dirname: " + __dirname);
59+
5860
const emacsZip = await tc.downloadTool(zipPath);
59-
const emacsDir = await tc.extractZip(emacsZip, PATH);
60-
61-
console.log(PATH);
61+
const emacsDir = await tc.extractZip(emacsZip, __dirname);
6262

63-
const emacsBin = PATH + "bin";
63+
const emacsBin = __dirname + "bin";
64+
console.log("emacsBin: " + emacsBin);
6465
core.exportVariable("PATH", "%PATH%;" + emacsBin);
6566

6667
core.endGroup();

0 commit comments

Comments
 (0)