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:
parent
45ace87e6f
commit
5d576d8b3c
1 changed files with 10 additions and 0 deletions
|
@ -955,6 +955,16 @@ jobs:
|
||||||
- run: echo using sh here
|
- 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)
|
[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`
|
### `jobs.<job_id>.steps[*].id`
|
||||||
|
|
Loading…
Reference in a new issue