Summary
Gets the path of the file with the complete webhook event payload.
- Namespace
- Cake
.Common .Build .GitHubActions .Data - Containing Type
- Git
Hub Actions Workflow Info
Syntax
public FilePath EventPath { get; }
Examples
if (BuildSystem.GitHubActions.IsRunningOnGitHubActions)
{
Information(@"Workflow EventPath: {0}", BuildSystem.GitHubActions.Environment.Workflow.EventPath);
}
if (GitHubActions.IsRunningOnGitHubActions)
{
Information(@"Workflow EventPath: {0}", GitHubActions.Environment.Workflow.EventPath);
}
Value
| Type | Description |
|---|---|
| FilePath | The path of the file with the complete webhook event payload. |
