Skip to content

Commit cc7fe66

Browse files
committed
Use add path.
1 parent 3681d8c commit cc7fe66

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ async function run(): Promise<void> {
5353
}
5454
}
5555

56-
console.log("zipPath: " + zipPath);
5756
const emacsZip = await tc.downloadTool(zipPath);
5857
const emacsDir = await tc.extractZip(emacsZip, './');
5958

60-
const emacsBin = "%PATH%;" + emacsDir + "bin";
61-
console.log("emacsBin: " + emacsBin);
62-
core.exportVariable("PATH", emacsBin);
59+
// const emacsBin = "%PATH%;" + emacsDir + "bin";
60+
// console.log("emacsBin: " + emacsBin);
61+
// core.exportVariable("PATH", emacsBin);
62+
core.addPath(emacsBin);
6363

6464
core.endGroup();
6565

0 commit comments

Comments
 (0)