Summary
Gets the ID of the repository.
- Namespace
- Cake
.Common .Build .GitHubActions .Data - Containing Type
- Git
Hub Actions Workflow Info
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. |
