Skip to content

Commit

Permalink
Merge pull request #231 from mithro/run-shell-fix
Browse files Browse the repository at this point in the history
Use `run_shell` rather than `run`.
  • Loading branch information
mithro authored Nov 20, 2023
2 parents a6ef350 + 13afddc commit 0737bbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flows/flows.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ def _run_step_with_inputs(ctx, step, inputs_dict, outputs_step_dict):
fail("Required constant", c, "not found in constants dictionary", ctx.attr.constants)
constants_env["CONSTANT_" + c.upper()] = s

ctx.actions.run(
ctx.actions.run_shell(
outputs = outputs,
inputs = inputs,
executable = step[DefaultInfo].files_to_run.executable,
command = step[DefaultInfo].files_to_run.executable.path,
tools = tool_inputs,
arguments = step[FlowStepInfo].arguments,
mnemonic = step[FlowStepInfo].executable_type,
Expand Down

0 comments on commit 0737bbe

Please sign in to comment.