1
0
mirror of synced 2026-01-07 00:01:39 -05:00

Merge pull request #22726 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot
2021-11-10 09:30:15 -05:00
committed by GitHub

View File

@@ -849,7 +849,7 @@ jobs:
Runs command-line programs using the operating system's shell. If you do not provide a `name`, the step name will default to the text specified in the `run` command.
Commands run using non-login shells by default. You can choose a different shell and customize the shell used to run commands. For more information, see "[Using a specific shell](#using-a-specific-shell)."
Commands run using non-login shells by default. You can choose a different shell and customize the shell used to run commands. For more information, see [`jobs.<job_id>.steps[*].shell`](#jobsjob_idstepsshell).
Each `run` keyword represents a new process and shell in the runner environment. When you provide multi-line commands, each line runs in the same shell. For example:
@@ -877,7 +877,7 @@ Using the `working-directory` keyword, you can specify the working directory of
working-directory: ./temp
```
### Using a specific shell
## `jobs.<job_id>.steps[*].shell`
You can override the default shell settings in the runner's operating system using the `shell` keyword. You can use built-in `shell` keywords, or you can define a custom set of shell options. The shell command that is run internally executes a temporary file that contains the commands specified in the `run` keyword.