GitHubActionsRuntimeInfo.

OutputPath Property

Summary

Gets the path to output file to set an output parameter that the following steps in a job can use.

Syntax

public FilePath OutputPath { get; }

Examples

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

Value

Type Description
FilePath The path to output file to set an output parameter that the following steps in a job can use.