actionforge / graph-runner

🏃‍♀️ The core cli of Actionforge
Other
12 stars 0 forks source link

Run node doesn't fail fast on Linux and macOS #10

Closed sebastianrath closed 8 months ago

sebastianrath commented 8 months ago

The Run node doesn't fail fast, meaning a multiline script is fully executed although a single command might fail. This behaviour is only enabled on Windows.

https://github.com/actionforge/graph-runner/blob/f4229d128f5527218312e374c63303da0310a3c4/nodes/run%40v1.go#L101-L105

man bash

pipefail

If set, the return value of a pipeline is the value of the last (rightmost) command to exit with a non-zero status, or zero if all commands in the pipeline exit successfully. This option is disabled by default.