GitHubActionsWorkflowInfo.

RunId Property

Summary

Gets the unique number for each run within the repository.

Syntax

public string RunId { get; }

Examples

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

Value

Type Description
string The unique number for each run within the repository.