Skip to content

Commit af6407d

Browse files
committed
20220911B
1 parent c0e5097 commit af6407d

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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!

SECURITY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
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* |

hugoalh.GitHubActionsToolkit/module/artifact.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

hugoalh.GitHubActionsToolkit/module/environment-variable.psm1

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff 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' {

0 commit comments

Comments
 (0)