0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-21 17:36:59 -05:00

Document better how the shell prop in steps work

This commit is contained in:
Mai-Lapyst 2024-08-23 17:59:53 +02:00 committed by Otto
parent 45ace87e6f
commit 5d576d8b3c

View file

@ -955,6 +955,16 @@ jobs:
- run: echo using sh here
```
Available values:
- `bash`
- `pwsh`
- `python`
- `sh`
- `cmd`
- `powershell`
- A custom commandline, where `{0}` is replaced with the path to a (temporary) file, containing the content of `jobs.<job_id>.steps[*].run`.
[Check out the example](https://code.forgejo.org/forgejo/end-to-end/src/branch/main/actions/example-pull-request/.forgejo/workflows/test.yml)
### `jobs.<job_id>.steps[*].id`