Class CheckoutStep
A workflow option that adds a source-checkout step to a workflow job.
public record CheckoutStep : IAdditionalStepOption, IBuildOption
- Inheritance
-
objectCheckoutStep
- Implements
- Derived
Remarks
Rendered using the targeted platform's native checkout mechanism (e.g., actions/checkout in
GitHub Actions). The default Order of -1000 places the step at the start of the job,
before the target step.
Constructors
CheckoutStep()
public CheckoutStep()
Properties
Enabled
Indicates whether the step is enabled. When set to true, the step is processed as part of the workflow; otherwise, it is ignored.
public bool Enabled { get; init; }
Property Value
- bool
Order
The order that the step should be executed within the job. Values less than 0 are run before the target, and values greater than 0 are run after the target. A value of 0 is invalid.
public int Order { get; init; }
Property Value
- int