GitHubActionsWorkflowInfo.

RepositoryId Property

Summary

Gets the ID of the repository.

Syntax

public string RepositoryId { get; }

Examples

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

Value

Type Description
string The ID of the repository.