0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-24 18:09:26 -05:00

Fixes a typo for steps in workflows

...where the 'steps' key of jobs is documented as 'step'
This commit is contained in:
Mai-Lapyst 2024-03-15 08:34:51 +01:00 committed by Earl Warren
parent 206ed546b9
commit 89d977a913

View file

@ -803,7 +803,7 @@ The steps are run if the **expression** evaluates to true.
An array of steps executed sequentially on the host specified by `runs-on`.
### `jobs.<job_id>.step[*].run`
### `jobs.<job_id>.steps[*].run`
A shell script to run in the environment specified with
`jobs.<job_id>.runs-on`. It runs as root using the default shell unless
@ -844,11 +844,11 @@ steps:
[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>.step[*].id`
### `jobs.<job_id>.steps[*].id`
A unique identifier for the step.
### `jobs.<job_id>.step[*].if`
### `jobs.<job_id>.steps[*].if`
The step is run if the **expression** evaluates to true. The following additional boolean functions are supported:
@ -858,7 +858,7 @@ The step is run if the **expression** evaluates to true. The following additiona
Check out the workflows in [example-if](https://code.forgejo.org/forgejo/end-to-end/src/branch/main/actions/example-if/) and [example-if-fail](https://code.forgejo.org/forgejo/end-to-end/src/branch/main/actions/example-if-fail/).
### `jobs.<job_id>.step[*].uses`
### `jobs.<job_id>.steps[*].uses`
Specifies the repository from which the `Action` will be cloned or a directory where it can be found.
@ -903,7 +903,7 @@ Specifies the repository from which the `Action` will be cloned or a directory w
[Check out the example](https://code.forgejo.org/forgejo/end-to-end/src/branch/main/actions/example-local-action/).
### `jobs.<job_id>.step[*].with`
### `jobs.<job_id>.steps[*].with`
A dictionary mapping the inputs of the action to concrete values. The `action.yml` defines and documents the inputs.