Class Release
-
- All Implemented Interfaces:
-
io.typeflows.util.Renderable
public final class Release extends WorkflowTrigger
GitHub Actions workflow trigger for release events.
Triggers a workflow when releases are created, edited, published, unpublished, or deleted. This trigger is commonly used for deployment pipelines that should run when a new version is released, and can be configured to respond to specific release activity types.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRelease.DSLpublic classRelease.Companion
-
Field Summary
Fields Modifier and Type Field Description public final List<ReleaseType>typesprivate final Stringonpublic final static Release.CompanionCompanion
-
Method Summary
-
-
Method Detail
-
create
@JvmOverloads() final static Release create(Configure<Release.DSL> trigger)
Creates and configures a Release trigger instance.
- Parameters:
trigger- Configuration lambda to set up the release trigger- Returns:
Configured Release trigger instance
-
create
@JvmOverloads() final static Release create()
Creates and configures a Release trigger instance.
- Returns:
Configured Release trigger instance
-
-
-
-