Public/Set-GitHubStepSummary.ps1
|
function Set-GitHubStepSummary { [CmdletBinding(SupportsShouldProcess)] param( [Parameter(Mandatory)] [AllowEmptyString()] [AllowEmptyCollection()] [string[]] $Content ) if ($PSCmdlet.ShouldProcess('GITHUB_STEP_SUMMARY', 'Overwrite GitHub Actions step summary')) { Write-GitHubEnvironmentFileContentInternal -VariableName 'GITHUB_STEP_SUMMARY' -Content $Content } } |