Summary
Creates or updates the step summary for a GitHub workflow.
- Namespace
- Cake
.Common .Build .GitHubActions .Commands - Containing Type
- Git
Hub Actions Commands
Syntax
public void SetStepSummary(string summary)
Examples
if (GitHubActions.IsRunningOnGitHubActions)
{
GitHubActions.Commands.SetStepSummary(
$"## Cake Version\n{Context.Environment.Runtime.CakeVersion.ToString(3)}");
}
Parameters
| Name | Type | Description |
|---|---|---|
| summary | string | The step summary. |
Return Value
| Type | Description |
|---|---|
| void |
