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(Mandatory=$True,Position=0)][ValidatePattern('^.+$', ErrorMessage ='Parameter `Title` must be in single line string!')][Alias('Header')][String]$Title
31
+
[Parameter(Mandatory=$True,Position=0)][ValidatePattern('^.+$', ErrorMessage ='Parameter `Title` must be in single line string!')][Alias('Header','Summary')][String]$Title
[Parameter(Mandatory=$True,ParameterSetName='One',Position=0,ValueFromPipeline=$True)][ValidatePattern('^(?:[\da-z][\da-z_-]*)?[\da-z]$', ErrorMessage ='`{0}` is not a valid GitHub Actions input name!')][Alias('Key')][String]$Name,
37
+
[Parameter(Mandatory=$True,ParameterSetName='One',Position=0)][ValidatePattern('^(?:[\da-z][\da-z_-]*)?[\da-z]$', ErrorMessage ='`{0}` is not a valid GitHub Actions input name!')][Alias('Key')][String]$Name,
[Parameter(Mandatory=$True,ParameterSetName='One',Position=0,ValueFromPipeline=$True)][ValidatePattern('^(?:[\da-z][\da-z_-]*)?[\da-z]$', ErrorMessage ='`{0}` is not a valid GitHub Actions state name!')][Alias('Key')][String]$Name,
135
+
[Parameter(Mandatory=$True,ParameterSetName='One',Position=0)][ValidatePattern('^(?:[\da-z][\da-z_-]*)?[\da-z]$', ErrorMessage ='`{0}` is not a valid GitHub Actions state name!')][Alias('Key')][String]$Name,
[Parameter(Mandatory=$True,ParameterSetName='Prefix')][ValidatePattern('^[\da-z][\da-z_-]*$', ErrorMessage ='`{0}` is not a valid GitHub Actions state name prefix!')][Alias('KeyPrefix','KeyStartWith','NameStartWith','Prefix','PrefixKey','PrefixName','StartWith','StartWithKey','StartWithName')][String]$NamePrefix,
146
138
[Parameter(Mandatory=$True,ParameterSetName='Suffix')][ValidatePattern('^[\da-z_-]*[\da-z]$', ErrorMessage ='`{0}` is not a valid GitHub Actions state name suffix!')][Alias('EndWith','EndWithKey','EndWithName','KeyEndWith','KeySuffix','NameEndWith','Suffix','SuffixKey','SuffixName')][String]$NameSuffix,
Copy file name to clipboardExpand all lines: hugoalh.GitHubActionsToolkit/module/step-summary.psm1
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -85,9 +85,9 @@ Image title.
85
85
.PARAMETERAlternativeText
86
86
Image alternative text.
87
87
.PARAMETERWidth
88
-
Image width.
88
+
Image width, by pixels.
89
89
.PARAMETERHeight
90
-
Image height.
90
+
Image height, by pixels.
91
91
.PARAMETERNoNewLine
92
92
Do 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.
0 commit comments