Skip to content

actionOutputDef

actionOutputDef(input: WithMeta<ActionOutputDefInput>): ActionOutputModel

Create an action output definition model.

Produces a model for a single entry in the action’s outputs map.

Parameter Type Description

input

WithMeta<ActionOutputDefInput>

Output definition properties and optional metadata.

ActionOutputModel

A branded ActionOutputModel.

const timeOutput = actionOutputDef({
description: "The greeting timestamp",
value: "${{ steps.greet.outputs.time }}",
});