mirror of
https://github.com/actions/runner.git
synced 2026-01-05 09:38:54 +08:00
.
This commit is contained in:
@@ -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}`)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user