GitHubActionsWorkflowInfo.

Repository Property

Summary

Gets the owner and repository name.

Syntax

public string Repository { get; }

Examples

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

Value

Type Description
string The owner and repository name.