File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hugoalh.GitHubActionsToolkit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -937,11 +937,11 @@ function Set-GitHubActionsState {
937
937
' multiple' {
938
938
$InputObject.GetEnumerator () | ForEach-Object - Process {
939
939
if ($_.Name.GetType ().Name -ne ' string' ) {
940
- Write-Error - Message ' State name must be type of string!' - Category InvalidType
940
+ Write-Error - Message ' GitHub Actions state name must be type of string!' - Category InvalidType
941
941
} elseif ($_.Name -notmatch ' ^(?:[\da-z][\da-z_-]*)?[\da-z]$' ) {
942
942
Write-Error - Message " `` $ ( $_.Name ) `` is not match the require GitHub Actions state name pattern!" - Category SyntaxError
943
943
} elseif ($_.Value.GetType ().Name -ne ' string' ) {
944
- Write-Error - Message ' State value must be type of string!' - Category InvalidType
944
+ Write-Error - Message ' GitHub Actions state value must be type of string!' - Category InvalidType
945
945
} else {
946
946
Write-GitHubActionsCommand - Command ' save-state' - Message $_.Value - Property @ { ' name' = $_.Name }
947
947
}
You can’t perform that action at this time.
0 commit comments