adding note about sh and bash
This commit is contained in:
@@ -2,6 +2,8 @@ Use `jobs.<job_id>.container` to create a container to run any steps in a job th
|
||||
|
||||
If you do not set a `container`, all steps will run directly on the host specified by `runs-on` unless a step refers to an action configured to run in a container.
|
||||
|
||||
Note: the default shell for `run` steps inside a container is `sh` instead of `bash`. This can be overridden with [`jobs.<job_id>.defaults.run`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iddefaultsrun) or [`jobs.<job_id>.steps[*].shell`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell).
|
||||
|
||||
### Example: Running a job within a container
|
||||
|
||||
```yaml{:copy}
|
||||
|
||||
Reference in New Issue
Block a user