configure

fun configure(uses: String, step: Configure<UseAction> = Configure {}): UseAction

Creates and configures a UseAction instance without a name.

Return

Configured UseAction instance

Parameters

uses

The action reference (e.g., 'actions/checkout@v4')

step

Configuration lambda to customize the step


fun configure(uses: String, name: String? = null, step: Configure<UseAction> = Configure {}): UseAction

Creates and configures a UseAction instance with an optional name.

Return

Configured UseAction instance

Parameters

uses

The action reference (e.g., 'actions/checkout@v4')

name

Optional name for the step (for logging and identification)

step

Configuration lambda to customize the step