actions[].steps and events.setup.*.steps. Each takes a typed parameters object and produces a typed output that downstream steps and the action’s result reference via ${steps.<stepId>.output.*}.
Step shape
Each step in a step list invokes one step function. Two shapes are discriminated by the presence of aniterator: a SimpleStep runs once, and a ForeachStep runs once per element of the array its iterator resolves to. Every step has a stepId unique within its action, a stepFunction naming the function to run and its parameters, and an optional condition that skips the step when it evaluates false.
- SimpleStep
- ForeachStep
| Field | Description | Type | Required |
|---|---|---|---|
condition | Expression gating whether this step runs. | string | No |
description | Explains what this step does. | string | Yes |
ignoreError | Whether a failure in this step is ignored so execution continues. | boolean | No |
onConditionError | How to behave when the condition expression errors. Allowed: true, false, break | enum | No |
stepFunction | Step function executed by this step. | object | Yes |
stepId | Identifier for this step, used to reference its output. | string | Yes |
steps.stepFunction
steps.stepFunction
Step function executed by this step.
| Field | Description | Type | Required |
|---|---|---|---|
functionName | Name of the step function to execute. | string | Yes |
parameters | Arguments passed to the step function. | object | Yes |
version | Version of the step function to use. | string | No |