configure

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

Creates and configures a UseLocalAction instance using an action name. The action is expected to be in the .github/actions/{name} directory.

Return

Configured UseLocalAction instance

Parameters

uses

The name of the local action directory

name

Optional name for the step (for logging and identification)

step

Configuration lambda to customize the step


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

Creates and configures a UseLocalAction instance using a Path.

Return

Configured UseLocalAction instance

Parameters

uses

The path to the local action

name

Optional name for the step (for logging and identification)

step

Configuration lambda to customize the step


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

Creates and configures a UseLocalAction instance using an Action class. The action path is derived from the class name.

Return

Configured UseLocalAction instance

Parameters

uses

The Action class reference

name

Optional name for the step (for logging and identification)

step

Configuration lambda to customize the step