Summary
Gets the current runtime API endpoint url.
- Namespace
- Cake
.Common .Build .GitHubActions .Data - Containing Type
- Git
Hub Actions Runtime Info
Syntax
public string Url { get; }
Examples
if (BuildSystem.GitHubActions.IsRunningOnGitHubActions)
{
Information(@"Runtime Url: {0}", BuildSystem.GitHubActions.Environment.Runtime.Url);
}
if (GitHubActions.IsRunningOnGitHubActions)
{
Information(@"Runtime Url: {0}", GitHubActions.Environment.Runtime.Url);
}
Value
| Type | Description |
|---|---|
| string | The current runtime API endpoint url. |
