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 1
1
> ### Suggested Content List
2
2
>
3
3
> - ** 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.
5
5
>
6
6
> Please remove this list before submit!
Original file line number Diff line number Diff line change 14
14
| ** Releases / Tags / Versions** | ** Status** | ** Target - PowerShell** | ** Target - NodeJS (Wrapper API)** | ** Target - NPM (Wrapper API)** |
15
15
| :-:| :-:| :-:| :-:| :-:|
16
16
| 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 |
18
19
| v0.5.0 \~ v0.5.3 | ❌{🐛} | >= v7.2.0 | >= 14.15.0 | >= v6.14.8 |
19
20
| v0.3.X \~ v0.4.X | ❌{🧓} | >= v7.2.0 | * N/A* | * N/A* |
20
21
| 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 {
58
58
[String []]$PathsProceed = @ ()
59
59
ForEach ($Item In $Path ) {
60
60
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 ) )
62
62
}
63
63
Catch {
64
64
$PathsProceed += $Item
Original file line number Diff line number Diff line change @@ -51,13 +51,10 @@ Function Add-PATH {
51
51
If ($Result.Count -igt 0 ) {
52
52
Switch - Exact ($Scope.ToString () - isplit ' , ' ) {
53
53
' 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
+ )) |
61
58
Out-Null
62
59
}
63
60
' Subsequent' {
You can’t perform that action at this time.
0 commit comments