Summary
Gets the path to output file to set an output parameter that the following steps in a job can use.
- Namespace
- Cake
.Common .Build .GitHubActions .Data - Containing Type
- Git
Hub Actions Runtime Info
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. |
