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 b101c57 commit 8a7f310Copy full SHA for 8a7f310
src/main.ts
@@ -5,6 +5,8 @@ import * as tc from "@actions/tool-cache";
5
6
async function run(): Promise<void> {
7
try {
8
+ const PATH = process.env.PATH;
9
+
10
const version = core.getInput("version");
11
const ver_lst = version.split(".");
12
const emacs_major_ver = ver_lst[0];
@@ -54,9 +56,11 @@ async function run(): Promise<void> {
54
56
}
55
57
58
const emacsZip = await tc.downloadTool(zipPath);
- const emacsDir = await tc.extractZip(emacsZip, './');
59
+ const emacsDir = await tc.extractZip(emacsZip, PATH);
60
61
+ console.log(PATH);
62
- const emacsBin = emacsDir + "bin";
63
+ const emacsBin = PATH + "bin";
64
core.exportVariable("PATH", "%PATH%;" + emacsBin);
65
66
core.endGroup();
0 commit comments