Skip to content

api_function_addgithubactionsstepsummary

hugoalh edited this page Dec 27, 2023 · 8 revisions

Add-GitHubActionsStepSummary

πŸ‘Ž Deprecated

This is officially deprecated, maybe throw warning in the latest version, and maybe remove in the future version.

  • Type: Function
  • In Version: v0.3.0 ~ v1.7.X
  • Alias:
    • Add-GitHubActionsStepSummaryRaw
  • Replace By: Add-GitHubActionsSummary

Add some GitHub flavored Markdown for the step to display on the summary page of a run.

Can use to display and group unique content, such as test result summaries, so that viewing the result of a run does not need to go into the logs to see important information related to the run, such as failures.

When a run's job finished, the summaries for all steps in a job are grouped together into a single job summary and are shown on the run summary page. If multiple jobs generate summaries, the job summaries are ordered by job completion time.

  • Add-GitHubActionsStepSummary
      [-Value] <String[]>
      [-NoNewLine]

Parameter

NoNewLine

[Optional] <Switch> Whether to not add a new line or carriage return to the content; The string representations of the input objects are concatenated to form the output, no spaces or newlines are inserted between the output strings, no newline is added after the last output string.

  • Position: Named
  • Accept Pipeline Input By Property Name: True βœ”οΈ

Value

<String[]> Contents of the step summary.

  • Position: 0
  • Accept Pipeline Input: True βœ”οΈ
  • Accept Pipeline Input By Property Name: True βœ”οΈ
  • Accept Wildcard Characters: False ❌
  • Alias:
    • Content

Output

<Void>

Guide

API

Enum

Enum Flag

Function

Function Alias

Clone this wiki locally