1
0
mirror of synced 2025-12-22 19:34:15 -05:00

Apply suggestions from code review

This commit is contained in:
Martin Lopes
2022-07-12 14:40:25 +10:00
committed by GitHub
parent 74f91b0c4d
commit 2ec9640ca0

View File

@@ -630,7 +630,7 @@ For information about the software included on GitHub-hosted runners, see "[Spec
For built-in shell keywords, we provide the following defaults that are executed by {% data variables.product.prodname_dotcom %}-hosted runners. You should use these guidelines when running shell scripts.
- `bash`/`sh`:
- Fail-fast behavior using `set -eo pipefail`: This option is set when `shell: bash` is specified explicitly. It is not applied by default.
- Fail-fast behavior using `set -eo pipefail`: This option is set when `shell: bash` is explicitly specified. It is not applied by default.
- You can take full control over shell parameters by providing a template string to the shell options. For example, `bash {0}`.
- sh-like shells exit with the exit code of the last command executed in a script, which is also the default behavior for actions. The runner will report the status of the step as fail/succeed based on this exit code.