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

Reword how custom values for the shell prop work

This commit is contained in:
Mai-Lapyst 2024-08-26 06:00:59 +02:00 committed by Otto
parent 5d576d8b3c
commit 000ca5ab42

View file

@ -963,7 +963,7 @@ Available values:
- `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`.
- A custom commandline, where the literal string `{0}` is replaced with the path to a (temporary) file, containing the content of `jobs.<job_id>.steps[*].run`. For example `bash -v {0}` would become `bash -v /tmp/xxx`.
[Check out the example](https://code.forgejo.org/forgejo/end-to-end/src/branch/main/actions/example-pull-request/.forgejo/workflows/test.yml)