mirror of
https://git.madhouse-project.org/actions/nix.git
synced 2025-05-09 21:59:53 +02:00
develop: Run the user script with -eo pipefail
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
parent
18b41c0333
commit
1bac4fd767
2 changed files with 17 additions and 1 deletions
|
@ -10,4 +10,4 @@ if [ "$(basename $0)" = "nix-shell" ]; then
|
|||
__cmd="shell"
|
||||
fi
|
||||
|
||||
nix "${__cmd}" "${INPUT_FLAKE}#${INPUT_PACKAGE}" -c bash "${workdir}/run.sh"
|
||||
nix "${__cmd}" "${INPUT_FLAKE}#${INPUT_PACKAGE}" -c bash -eo pipefail "${workdir}/run.sh"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue