Summary
Gets the path to environment file to set an environment variable 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 EnvPath { get; }
Examples
if (BuildSystem.GitHubActions.IsRunningOnGitHubActions)
{
Information(@"Runtime EnvPath: {0}", BuildSystem.GitHubActions.Environment.Runtime.EnvPath);
}
if (GitHubActions.IsRunningOnGitHubActions)
{
Information(@"Runtime EnvPath: {0}", GitHubActions.Environment.Runtime.EnvPath);
}
Value
| Type | Description |
|---|---|
| FilePath | The path to environment file to set an environment variable that the following steps in a job can use. |
