GitHubActionsWorkflowInfo.

WorkflowRef Property

Summary

Gets the ref path to the workflow file.

Syntax

public string WorkflowRef { get; }

Examples

if (BuildSystem.GitHubActions.IsRunningOnGitHubActions)
{
    Information(@"Workflow WorkflowRef: {0}", BuildSystem.GitHubActions.Environment.Workflow.WorkflowRef);
}
if (GitHubActions.IsRunningOnGitHubActions)
{
    Information(@"Workflow WorkflowRef: {0}", GitHubActions.Environment.Workflow.WorkflowRef);
}

Value

Type Description
string The ref path to the workflow file.