Summary
Gets the account ID of the person or app that triggered the initial workflow run.
- Namespace
- Cake
.Common .Build .GitHubActions .Data - Containing Type
- Git
Hub Actions Workflow Info
Syntax
public string ActorId { get; }
Examples
if (BuildSystem.GitHubActions.IsRunningOnGitHubActions)
{
Information(@"Workflow ActorId: {0}", BuildSystem.GitHubActions.Environment.Workflow.ActorId);
}
if (GitHubActions.IsRunningOnGitHubActions)
{
Information(@"Workflow ActorId: {0}", GitHubActions.Environment.Workflow.ActorId);
}
Value
| Type | Description |
|---|---|
| string | The account ID of the person or app that triggered the initial workflow run. |
