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(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.*$', ErrorMessage ='Parameter `File` must be in single line string!')][Alias('Path')][String]$File,
84
+
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.+$', ErrorMessage ='Parameter `File` must be in single line string!')][Alias('Path')][String]$File,
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.*$', ErrorMessage ='Parameter `Title` must be in single line string!')][Alias('Header')][String]$Title
89
+
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.+$', ErrorMessage ='Parameter `Title` must be in single line string!')][Alias('Header')][String]$Title
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.*$', ErrorMessage ='Parameter `File` must be in single line string!')][Alias('Path')][String]$File,
175
+
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.+$', ErrorMessage ='Parameter `File` must be in single line string!')][Alias('Path')][String]$File,
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.*$', ErrorMessage ='Parameter `Title` must be in single line string!')][Alias('Header')][String]$Title
180
+
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.+$', ErrorMessage ='Parameter `Title` must be in single line string!')][Alias('Header')][String]$Title
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.*$', ErrorMessage ='Parameter `File` must be in single line string!')][Alias('Path')][String]$File,
250
+
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.+$', ErrorMessage ='Parameter `File` must be in single line string!')][Alias('Path')][String]$File,
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.*$', ErrorMessage ='Parameter `Title` must be in single line string!')][Alias('Header')][String]$Title
255
+
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.+$', ErrorMessage ='Parameter `Title` must be in single line string!')][Alias('Header')][String]$Title
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.*$', ErrorMessage ='Parameter `File` must be in single line string!')][Alias('Path')][String]$File,
324
+
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.+$', ErrorMessage ='Parameter `File` must be in single line string!')][Alias('Path')][String]$File,
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.*$', ErrorMessage ='Parameter `Title` must be in single line string!')][Alias('Header')][String]$Title
329
+
[Parameter(ValueFromPipelineByPropertyName=$True)][ValidatePattern('^.+$', ErrorMessage ='Parameter `Title` must be in single line string!')][Alias('Header')][String]$Title
Copy file name to clipboardExpand all lines: hugoalh.GitHubActionsToolkit/module/tool-cache.psm1
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -19,13 +19,13 @@ Path for the expand destination.
19
19
.PARAMETERMethod
20
20
Method to expand compressed archive/file; Define this parameter will enforce to use defined method.
21
21
.PARAMETER7zrPath
22
-
Path of the 7zr application, for long path support (only when parameter `Method` is `7z`).
22
+
Literal path of the 7zr application, for long path support (only when parameter `Method` is `7z`).
23
23
24
-
Most `.7z` archives do not have this problem, if `.7z` archive contains very long path, pass the path to `7zr` which will gracefully handle long paths, by default `7zdec` is used because it is a very small program and is bundled with the GitHub Actions NodeJS toolkit, however it does not support long paths, `7zr` is the reduced command line interface, it is smaller than the full command line interface, and it does support long paths, at the time of this writing, it is freely available from the LZMA SDK that is available on the 7-Zip website, be sure to check the current license agreement, if `7zr` is bundled with your action, then the path to `7zr` can be pass to this function.
24
+
Most `.7z` archives do not have this problem, if `.7z` archive contains very long path, pass the path to 7zr which will gracefully handle long paths, by default 7zdec is used because it is a very small program and is bundled with the GitHub Actions NodeJS toolkit, however it does not support long paths, 7zr is the reduced command line interface, it is smaller than the full command line interface, and it does support long paths, at the time of this writing, it is freely available from the LZMA SDK that is available on the 7-Zip website, be sure to check the current license agreement, if 7zr is bundled with your action, then the path to 7zr can be pass to this function.
25
25
.PARAMETERFlag
26
26
Flag to use for expand (only when parameter `Method` is `Tar` or `Xar`).
0 commit comments