This commit is contained in:
TingluoHuang
2021-10-28 19:48:42 -04:00
parent 3ce763338d
commit 11ff2be7e9
2 changed files with 3 additions and 2 deletions

View File

@@ -42,7 +42,6 @@ async function run(): Promise<void> {
core.debug(JSON.stringify(execArgs)) core.debug(JSON.stringify(execArgs))
await exec.exec(execInput.fileName, execArgs, { await exec.exec(execInput.fileName, execArgs, {
cwd: execInput.workingDirectory,
env: execInput.environmentVariables env: execInput.environmentVariables
}) })
} }

View File

@@ -1562,7 +1562,9 @@ function run() {
core.debug(JSON.stringify(args)); core.debug(JSON.stringify(args));
execArgs.push(...args); execArgs.push(...args);
core.debug(JSON.stringify(execArgs)); core.debug(JSON.stringify(execArgs));
yield exec.exec(execInput.fileName, execArgs, { cwd: execInput.workingDirectory, env: execInput.environmentVariables }); yield exec.exec(execInput.fileName, execArgs, {
env: execInput.environmentVariables
});
}); });
} }
run(); run();