File tree Expand file tree Collapse file tree 4 files changed +8
-10
lines changed
hugoalh.GitHubActionsToolkit/module Expand file tree Collapse file tree 4 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 11> ### Suggested Content List
22>
33> - ** Changelog:** What have changed?
4- > - ** Related Issues :** If the changes are related to the issues, list those issues.
4+ > - ** Related Issue :** If the changes are related to the issues, list those issues.
55>
66> Please remove this list before submit!
Original file line number Diff line number Diff line change 1414| ** Releases / Tags / Versions** | ** Status** | ** Target - PowerShell** | ** Target - NodeJS (Wrapper API)** | ** Target - NPM (Wrapper API)** |
1515| :-:| :-:| :-:| :-:| :-:|
1616| v1.0.X | L | >= v7.2.0 | >= 14.15.0 | >= v6.14.8 |
17- | v0.5.X | 👎{🧓} | >= v7.2.0 | >= 14.15.0 | >= v6.14.8 |
17+ | v1.0.0 | 👎{🐛} | >= v7.2.0 | >= 14.15.0 | >= v6.14.8 |
18+ | v0.5.X | 👎{🐛🧓} | >= v7.2.0 | >= 14.15.0 | >= v6.14.8 |
1819| v0.5.0 \~ v0.5.3 | ❌{🐛} | >= v7.2.0 | >= 14.15.0 | >= v6.14.8 |
1920| v0.3.X \~ v0.4.X | ❌{🧓} | >= v7.2.0 | * N/A* | * N/A* |
2021| v0.3.0 \~ v0.3.2 | ❌{🐛🧓} | >= v7.2.0 | * N/A* | * N/A* |
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ Function Export-Artifact {
5858 [String []]$PathsProceed = @ ()
5959 ForEach ($Item In $Path ) {
6060 Try {
61- $PathsProceed += Resolve-Path - Path [System.IO.Path ]::IsPathRooted($Item ) ? $Item : (Join-Path - Path $BaseRoot - ChildPath $Item )
61+ $PathsProceed += Resolve-Path - Path ( [System.IO.Path ]::IsPathRooted($Item ) ? $Item : (Join-Path - Path $BaseRoot - ChildPath $Item ) )
6262 }
6363 Catch {
6464 $PathsProceed += $Item
Original file line number Diff line number Diff line change @@ -51,13 +51,10 @@ Function Add-PATH {
5151 If ($Result.Count -igt 0 ) {
5252 Switch - Exact ($Scope.ToString () - isplit ' , ' ) {
5353 ' Current' {
54- [System.Environment ]::SetEnvironmentVariable(
55- ' PATH' ,
56- (
57- ([System.Environment ]::GetEnvironmentVariable(' PATH' ) - isplit [System.IO.Path ]::PathSeparator) + $Result |
58- Join-String - Separator [System.IO.Path ]::PathSeparator
59- )
60- ) |
54+ [System.Environment ]::SetEnvironmentVariable(' PATH' , (
55+ ([System.Environment ]::GetEnvironmentVariable(' PATH' ) - isplit [System.IO.Path ]::PathSeparator) + $Result |
56+ Join-String - Separator [System.IO.Path ]::PathSeparator
57+ )) |
6158 Out-Null
6259 }
6360 ' Subsequent' {
You can’t perform that action at this time.
0 commit comments