Skip to content

api_function_addgithubactionsproblemmatcher

hugoalh edited this page Sep 23, 2023 · 5 revisions

Add-GitHubActionsProblemMatcher

  • Type: Function
  • In Version: >= v0.3.0

Add problem matcher to scan the logs by specified regular expression patterns and automatically surface that information prominently in the user interface, both annotation and log decoration will create when a match is detected. For more information, please visit https://github.com/actions/toolkit/blob/main/docs/problem-matchers.md.

  • # Parameter Set: Path (Default)
    Add-GitHubActionsProblemMatcher
      [-Path] <String[]>
  • # Parameter Set: LiteralPath
    Add-GitHubActionsProblemMatcher
      -LiteralPath <String[]>

Parameter

LiteralPath

<String[]> Literal paths of the JSON problem matcher files.

  • Parameter Set: LiteralPath
  • Position: Named
  • Accept Pipeline Input: True βœ”οΈ
  • Accept Pipeline Input By Property Name: True βœ”οΈ
  • Accept Wildcard Characters: False ❌
  • Alias:
    • LiteralFile
    • LiteralFiles
    • LiteralPaths
    • LP
    • PSPath
    • PSPaths

Path

<String[]> Paths of the JSON problem matcher files.

  • Parameter Set: Path
  • Position: 0
  • Accept Pipeline Input: True βœ”οΈ
  • Accept Pipeline Input By Property Name: True βœ”οΈ
  • Accept Wildcard Characters: True βœ”οΈ
  • Alias:
    • File
    • Files
    • Paths

Output

<Void>

Guide

API

Enum

Enum Flag

Function

Function Alias

Clone this wiki locally