This commit is contained in:
TingluoHuang
2021-10-14 16:33:36 -04:00
parent 7128998d77
commit 5639175ecb
2 changed files with 13 additions and 13 deletions

View File

@@ -125,7 +125,7 @@ async function run(): Promise<void> {
const execArgs = ['exec'] const execArgs = ['exec']
execArgs.push('-i') execArgs.push('-i')
execArgs.push(`--wordir=${execInput.workingDirectory}`) execArgs.push(`--workdir=${execInput.workingDirectory}`)
for (const envKey of execInput.environmentKeys) { for (const envKey of execInput.environmentKeys) {
execArgs.push(`-e=${envKey}`) execArgs.push(`-e=${envKey}`)
} }

View File

@@ -1145,8 +1145,8 @@ function run() {
// -e RUNNER_TEMP -e RUNNER_WORKSPACE // -e RUNNER_TEMP -e RUNNER_WORKSPACE
// eccdf520697a035599d6e8c8dc801f004fdd3797cdce88f590aba3669a88d9bc sh -e /__w/_temp/d3b30383-719c-4e76-a16f-8f85443352be.sh // eccdf520697a035599d6e8c8dc801f004fdd3797cdce88f590aba3669a88d9bc sh -e /__w/_temp/d3b30383-719c-4e76-a16f-8f85443352be.sh
const execArgs = ['exec']; const execArgs = ['exec'];
execArgs.push("-i"); execArgs.push('-i');
execArgs.push(`--wordir=${execInput.workingDirectory}`); execArgs.push(`--workdir=${execInput.workingDirectory}`);
for (const envKey of execInput.environmentKeys) { for (const envKey of execInput.environmentKeys) {
execArgs.push(`-e=${envKey}`); execArgs.push(`-e=${envKey}`);
} }