From 89d977a913e95bffad6027a0463cf8a53ed6160f Mon Sep 17 00:00:00 2001 From: Mai-Lapyst Date: Fri, 15 Mar 2024 08:34:51 +0100 Subject: [PATCH] Fixes a typo for steps in workflows ...where the 'steps' key of jobs is documented as 'step' --- docs/user/actions.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/user/actions.md b/docs/user/actions.md index e9086254..65b2276c 100644 --- a/docs/user/actions.md +++ b/docs/user/actions.md @@ -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..step[*].run` +### `jobs..steps[*].run` A shell script to run in the environment specified with `jobs..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..step[*].id` +### `jobs..steps[*].id` A unique identifier for the step. -### `jobs..step[*].if` +### `jobs..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..step[*].uses` +### `jobs..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..step[*].with` +### `jobs..steps[*].with` A dictionary mapping the inputs of the action to concrete values. The `action.yml` defines and documents the inputs.