Package io.typeflows.github.workflow
Object Job.Companion
-
- All Implemented Interfaces:
public class Job.Companion extends Context
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringprefixpublic final static Job.CompanionINSTANCE
-
Method Summary
-
-
Method Detail
-
invoke
final Job invoke(String id, RunsOn runsOn, Function1<Job.DSL, Unit> job)
Creates and configures a Job instance with Kotlin DSL syntax.
- Parameters:
id- Unique identifier for the job (will be converted to lowercase with spaces replaced by hyphens)runsOn- The runner environment where the job will executejob- Configuration lambda to set up the job- Returns:
Configured Job instance
-
-
-
-