You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolvesmamba-org#151
Advise users to use "bash -leo pipefail {0}" instead of "bash -l {0}"
since without "-eo pipefail" errors can happen in a shell script, but
keep CI running without an error. Most users will want a shell where if
a pipe eats a non zero exit, the program propigates the error.
RE: https://github.com/mamba-org/setup-micromamba#about-login-shells
I am wondering if we should advise people to use something like
shell: bash -leo pipefail {0}
instead ofshell: bash -l {0}
since the default-ish behavior here https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell is for shells to set-e
, which users will lose if only-l
is used.I am happy to submit a PR for this document tweak.
The text was updated successfully, but these errors were encountered: