Table of Contents

Class WorkflowParamInjectionFromEnvironment

Namespace
Invex.Atom.Workflows.Options.Injections
Assembly
Invex.Atom.Workflows.dll

A workflow option that injects a parameter whose value is sourced from the workflow's environment (GitHub Actions vars, Azure DevOps variables).

public sealed record WorkflowParamInjectionFromEnvironment : IBuildOption
Inheritance
object
WorkflowParamInjectionFromEnvironment
Implements

Remarks

Typically created via BuildOptions.Inject.ParamFromWorkflowEnvironment(name). For sensitive values, use WorkflowSecretInjectionFromEnvironment instead.

Constructors

WorkflowParamInjectionFromEnvironment(string)

A workflow option that injects a parameter whose value is sourced from the workflow's environment (GitHub Actions vars, Azure DevOps variables).

public WorkflowParamInjectionFromEnvironment(string ParamName)

Parameters

ParamName string

The name of the parameter to inject from the workflow environment.

Remarks

Typically created via BuildOptions.Inject.ParamFromWorkflowEnvironment(name). For sensitive values, use WorkflowSecretInjectionFromEnvironment instead.

Properties

ParamName

The name of the parameter to inject from the workflow environment.

public string ParamName { get; init; }

Property Value

string