GitHubActionsWorkflowInfo.

EventPath Property

Summary

Gets the path of the file with the complete webhook event payload.

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.