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,ValueFromPipelineByPropertyName=$True)][ValidateScript({ Test-CacheKey-InputObject $_ }, ErrorMessage ='`{0}` is not a valid GitHub Actions cache key, and/or more than 512 characters!')][Alias('Keys','Name','Names')][String[]]$Key,
[Parameter(Mandatory=$True,Position=0,ValueFromPipelineByPropertyName=$True)][ValidateScript({ Test-CacheKey-InputObject $_ }, ErrorMessage ='`{0}` is not a valid GitHub Actions cache key, and/or more than 512 characters!')][Alias('Name')][String]$Key,
Copy file name to clipboardExpand all lines: hugoalh.GitHubActionsToolkit/module/command-control.psm1
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Import-Module -Name (
29
29
.SYNOPSIS
30
30
GitHub Actions - Disable Echoing Commands
31
31
.DESCRIPTION
32
-
Disable echoing most of the commands, the log will not show the command itself; Secret `ACTIONS_STEP_DEBUG` will ignore this setting; When processing a command, it will still echo if there has any issues.
32
+
Disable echoing most of the commands, the log will not show the command itself; Environment variable `ACTIONS_STEP_DEBUG` will ignore this setting; When processing a command, it will still echo if there has any issues.
Copy file name to clipboardExpand all lines: hugoalh.GitHubActionsToolkit/module/environment-variable.psm1
+17-17Lines changed: 17 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,13 @@ Import-Module -Name (
14
14
.SYNOPSIS
15
15
GitHub Actions - Add PATH
16
16
.DESCRIPTION
17
-
Add PATH to current step and all subsequent steps in the current job.
17
+
Add PATH to the current step and/or all subsequent steps in the current job.
18
18
.PARAMETERPath
19
-
Path.
19
+
Absolute paths.
20
20
.PARAMETERNoValidator
21
-
Do not check the PATH whether is valid.
21
+
Whether to not check the paths are valid.
22
22
.PARAMETERScope
23
-
Scope of PATH.
23
+
Scope of the PATHs.
24
24
.OUTPUTS
25
25
[Void]
26
26
#>
@@ -29,14 +29,14 @@ Function Add-PATH {
29
29
[OutputType([Void])]
30
30
Param (
31
31
[Parameter(Mandatory=$True,Position=0,ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.+$', ErrorMessage ='Parameter `Path` must be in single line string!')][Alias('Paths')][String[]]$Path,
[Parameter(Mandatory=$True,ParameterSetName='Single',Position=0,ValueFromPipelineByPropertyName=$True)][ValidateScript({ Test-EnvironmentVariableName-InputObject $_ }, ErrorMessage ='`{0}` is not a valid environment variable name!')][Alias('Key')][String]$Name,
0 commit comments