We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bcae22 commit b79db72Copy full SHA for b79db72
hugoalh.GitHubActionsToolkit/module/tool-cache.psm1
@@ -105,8 +105,8 @@ Function Find-ToolCache {
105
[OutputType(([String], [String[]]))]
106
Param (
107
[Parameter(Mandatory = $True, Position = 0)][Alias('ToolName')][String]$Name,
108
- [Alias('Ver')][String]$Version = '*',
109
- [Alias('Arch')][String]$Architecture
+ [Parameter(Position = 1)][Alias('Ver')][String]$Version = '*',
+ [Parameter(Position = 2)][Alias('Arch')][String]$Architecture
110
)
111
If (!(Test-GitHubActionsEnvironment -ToolCache)) {
112
Return (Write-Error -Message 'Unable to get GitHub Actions tool cache resources!' -Category 'ResourceUnavailable')
0 commit comments