Skip to content

Commit 24b834c

Browse files
committed
20230207C
1 parent e100c4d commit 24b834c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psd1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
'Write-Debug',
107107
'Write-Error',
108108
'Write-Fail',
109+
'Write-FileCommand',
109110
'Write-Notice',
110111
'Write-Raw',
111112
'Write-Warning'

hugoalh.GitHubActionsToolkit/module/command-control.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Function New-CommandsEndToken {
163163
[OutputType([String])]
164164
Param ()
165165
Do {
166-
[String]$Result = New-GitHubActionsRandomToken
166+
[String]$Result = New-GitHubActionsRandomToken -Length 32
167167
}
168168
While ( $Result -iin $GitHubActionsCommandsEndTokensUsed )
169169
$Script:GitHubActionsCommandsEndTokensUsed += $Result

hugoalh.GitHubActionsToolkit/module/utility.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,13 @@ Function Test-Environment {
136136
Param (
137137
[Switch]$Artifact,
138138
[Switch]$Cache,
139-
[Alias('Oidc', 'OpenId')][Switch]$OpenIdConnect,
139+
[Alias('Oidc')][Switch]$OpenIdConnect,
140140
[Switch]$StepSummary,
141141
[Switch]$ToolCache,
142142
[Alias('Require', 'Required')][Switch]$Mandatory,
143143
[Alias('RequiredMessage', 'RequireMessage')][String]$MandatoryMessage = 'This process requires to invoke inside the GitHub Actions environment!'
144144
)
145-
If (# Some conditions were disabled to provide compatibility, enable those when with runner requirement.
145+
If (# Some conditions are disabled to provide compatibility, enable those when with runner requirement.
146146
$Env:CI -ine 'true' -or
147147
[String]::IsNullOrWhiteSpace($Env:GITHUB_ACTION_REPOSITORY) -or
148148
[String]::IsNullOrWhiteSpace($Env:GITHUB_ACTION) -or

0 commit comments

Comments
 (0)