|
@@ -58,8 +58,8 @@ def ipc(func: Run[Action]) -> Run[Action]:
|
|
|
def wrapper(self: Action, context: Context) -> Status:
|
|
def wrapper(self: Action, context: Context) -> Status:
|
|
|
inputs = {f"INPUT_{k}": v for k, v in self.inputs}
|
|
inputs = {f"INPUT_{k}": v for k, v in self.inputs}
|
|
|
with (
|
|
with (
|
|
|
- tempfile.TemporaryFile(mode="w+") as output,
|
|
|
|
|
- tempfile.TemporaryFile(mode="w+") as envfile,
|
|
|
|
|
|
|
+ tempfile.NamedTemporaryFile() as output,
|
|
|
|
|
+ tempfile.NamedTemporaryFile() as envfile,
|
|
|
environ(CI_OUTPUT=output.name, CI_ENVIRON=envfile.name, **inputs),
|
|
environ(CI_OUTPUT=output.name, CI_ENVIRON=envfile.name, **inputs),
|
|
|
):
|
|
):
|
|
|
rval = func(self, context)
|
|
rval = func(self, context)
|