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 {
937937 ' multiple' {
938938 $InputObject.GetEnumerator () | ForEach-Object - Process {
939939 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
941941 } elseif ($_.Name -notmatch ' ^(?:[\da-z][\da-z_-]*)?[\da-z]$' ) {
942942 Write-Error - Message " `` $ ( $_.Name ) `` is not match the require GitHub Actions state name pattern!" - Category SyntaxError
943943 } 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
945945 } else {
946946 Write-GitHubActionsCommand - Command ' save-state' - Message $_.Value - Property @ { ' name' = $_.Name }
947947 }
You can’t perform that action at this time.
0 commit comments