Class WorkflowBuildOptionsExtensions.TargetBuildOptions
Provides factories for configuring per-target behavior in generated workflows.
public sealed class WorkflowBuildOptionsExtensions.TargetBuildOptions
- Inheritance
-
objectWorkflowBuildOptionsExtensions.TargetBuildOptions
Constructors
TargetBuildOptions()
public TargetBuildOptions()
Properties
SuppressArtifactPublishing
Gets an option that suppresses publishing of artifacts produced by the target.
public SuppressArtifactPublishingOption SuppressArtifactPublishing { get; }
Property Value
Methods
RunIfWorkflowCondition(BoolExpr)
Creates an option that gates execution of the target's job on a platform-evaluated condition.
public TargetCondition RunIfWorkflowCondition(BoolExpr condition)
Parameters
conditionBoolExprThe condition expression to evaluate in the workflow.
Returns
- TargetCondition
A TargetCondition option.
SetSuppressedArtifactPublishing(bool)
Creates an option that enables or disables suppression of artifact publishing for the target.
public SuppressArtifactPublishingOption SetSuppressedArtifactPublishing(bool value)
Parameters
valuebooltrueto suppress artifact publishing; otherwise,false.