You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidateScript({ [System.IO.Path]::IsPathRooted($_) -and (Test-Path-LiteralPath $_-PathType 'Container') }, ErrorMessage ='`{0}` is not an exist and valid GitHub Actions artifact base root!')][Alias('Root')][String]$BaseRoot=$Env:GITHUB_WORKSPACE,
37
+
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidateScript({ [System.IO.Path]::IsPathRooted($_) -and (Test-Path-LiteralPath $_-PathType 'Container') }, ErrorMessage ='`{0}` is not an exist and valid directory!')][Alias('Root')][String]$BaseRoot=$Env:GITHUB_WORKSPACE,
Copy file name to clipboardExpand all lines: hugoalh.GitHubActionsToolkit/module/problem-matcher.psm1
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,9 @@ GitHub Actions - Add Problem Matcher
12
12
.DESCRIPTION
13
13
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.
14
14
.PARAMETERPath
15
-
Relative paths of the JSON problem matcher files.
15
+
Paths of the JSON problem matcher files.
16
16
.PARAMETERLiteralPath
17
-
Relative literal paths of the JSON problem matcher files.
17
+
Literal paths of the JSON problem matcher files.
18
18
.OUTPUTS
19
19
[Void]
20
20
#>
@@ -47,7 +47,7 @@ Function Remove-ProblemMatcher {
[Parameter(Mandatory=$True,Position=0,ValueFromPipeline=$True)][ValidatePattern('^.+$', ErrorMessage ='Parameter `Owner` must be in single line string!')][Alias('Identifies','Identify','Identifier','Identifiers','Key','Keys','Name','Names','Owners')][String[]]$Owner
50
+
[Parameter(Mandatory=$True,Position=0,ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.+$', ErrorMessage ='Parameter `Owner` must be in single line string!')][Alias('Identifies','Identify','Identifier','Identifiers','Key','Keys','Name','Names','Owners')][String[]]$Owner
0 commit comments