mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
.
This commit is contained in:
@@ -64,14 +64,14 @@ async function run(): Promise<void> {
|
||||
core.debug(JSON.stringify(containerId))
|
||||
|
||||
// podman start {containerId}
|
||||
await exec.exec('podman', ['start', containerId.stdout])
|
||||
await exec.exec('podman', ['start', containerId.stdout.trim()])
|
||||
|
||||
// get PATH inside the container
|
||||
|
||||
// output containerId for ${{job.container.id}}
|
||||
|
||||
const creationOutput = {
|
||||
JobContainerId: containerId.stdout,
|
||||
JobContainerId: containerId.stdout.trim(),
|
||||
Network: networkName
|
||||
}
|
||||
|
||||
|
||||
@@ -1100,11 +1100,11 @@ function run() {
|
||||
]);
|
||||
core.debug(JSON.stringify(containerId));
|
||||
// podman start {containerId}
|
||||
yield exec.exec('podman', ['start', containerId.stdout]);
|
||||
yield exec.exec('podman', ['start', containerId.stdout.trim()]);
|
||||
// get PATH inside the container
|
||||
// output containerId for ${{job.container.id}}
|
||||
const creationOutput = {
|
||||
JobContainerId: containerId.stdout,
|
||||
JobContainerId: containerId.stdout.trim(),
|
||||
Network: networkName
|
||||
};
|
||||
const output = JSON.stringify({ CreationOutput: creationOutput });
|
||||
|
||||
Reference in New Issue
Block a user