Package io.typeflows.github.workflow
Class RunDefaults
-
- All Implemented Interfaces:
-
io.typeflows.util.Renderable
public final class RunDefaults implements Renderable<Map<String, Any>>
Represents default run settings for GitHub Actions workflow steps.
Run defaults provide common configuration like shell type and working directory that apply to all run steps in a workflow or job. This enables consistent execution environments and reduces duplication of common run configurations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRunDefaults.DSLpublic classRunDefaults.Companion
-
Field Summary
Fields Modifier and Type Field Description public final Stringshellpublic final PathworkingDirectorypublic final static RunDefaults.CompanionCompanion
-
Method Summary
Modifier and Type Method Description Map<String, Object>render()final static RunDefaultscreate(Configure<RunDefaults.DSL> block)Creates and configures a RunDefaults instance. -
-
Method Detail
-
create
final static RunDefaults create(Configure<RunDefaults.DSL> block)
Creates and configures a RunDefaults instance.
- Parameters:
block- Configuration lambda to set up the run defaults- Returns:
Configured RunDefaults instance
-
-
-
-