Skip to content

Commit b632716

Browse files
committed
20220805B
1 parent 081ea68 commit b632716

21 files changed

+23
-55
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ body:
1818
description: "What versions are affected? Versions must be listed as supported in the Security Policy (/.github/SECURITY.md)."
1919
multiple: true
2020
options:
21+
- "v0.5.4"
2122
- "v0.5.3"
2223
- "v0.5.2"
2324
- "v0.5.1"

.github/SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
| **Tag / Version** | **Target** | **Support** |
1515
|:-:|:-:|:-:|
1616
| v0.5.X | PowerShell v7.2.0 ||
17-
| v0.5.0 \~ v0.5.2 | PowerShell v7.2.0 | 👎{🐛} |
17+
| v0.5.0 \~ v0.5.3 | PowerShell v7.2.0 | 👎{🐛} |
1818
| v0.4.X | PowerShell v7.2.0 | 👎{🧓} |
1919
| v0.3.X | PowerShell v7.2.0 | 👎{🧓} |
2020
| v0.3.0 \~ v0.3.2 | PowerShell v7.2.0 | ❌{🐛🧓} |

hugoalh.GitHubActionsToolkit/_get-package-commands.ps1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@ This script is use for debug, and help to copy commands to hugoalh.GitHubActions
66
Import-Module -Name (Join-Path -Path $PSScriptRoot -ChildPath 'hugoalh.GitHubActionsToolkit.psm1') -Scope 'Local'
77
[PSCustomObject[]]$PackageCommands = Get-Command -Module 'hugoalh.GitHubActionsToolkit' -ListImported
88
ForEach ($CommandType In @('Function', 'Alias')) {
9-
Set-Clipboard -Value "$($PackageCommands | Where-Object -FilterScript {
10-
Return ($_.CommandType -ieq $CommandType)
11-
} | Select-Object -ExpandProperty 'Name' | Sort-Object | Join-String -Separator "`n" -SingleQuote)" -Confirm
9+
Set-Clipboard -Value ($PackageCommands | Where-Object -FilterScript { Return ($_.CommandType -ieq $CommandType) } | Select-Object -ExpandProperty 'Name' | Sort-Object | Join-String -Separator ",`n" -SingleQuote) -Confirm
1210
}

hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
RootModule = 'hugoalh.GitHubActionsToolkit.psm1'
44

55
# Version number of this module.
6-
ModuleVersion = '0.5.3'
6+
ModuleVersion = '0.5.4'
77

88
# Supported PSEditions
99
# CompatiblePSEditions = @()
@@ -118,7 +118,7 @@
118118

119119
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
120120
AliasesToExport = @(
121-
'Add-Mask',
121+
'Add-Mask'
122122
'Add-Secret',
123123
'Add-StepSummaryHyperlink',
124124
'Add-StepSummaryPicture',

hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psm1

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ Import-Module -Name ($ModulesNames | ForEach-Object -Process {
2020
Return (Join-Path -Path $ModuleRoot -ChildPath "$_.psm1")
2121
}) -Scope 'Local'
2222
[PSCustomObject[]]$PackageCommands = Get-Command -Module $ModulesNames -ListImported
23-
[String[]]$PackageCommandsFunctions = ($PackageCommands | Where-Object -FilterScript {
24-
Return ($_.CommandType -ieq 'Function')
25-
}).Name
26-
[String[]]$PackageCommandsAliases = ($PackageCommands | Where-Object -FilterScript {
27-
Return ($_.CommandType -ieq 'Alias')
28-
}).Name
23+
[String[]]$PackageCommandsFunctions = ($PackageCommands | Where-Object -FilterScript { Return ($_.CommandType -ieq 'Function') }).Name
24+
[String[]]$PackageCommandsAliases = ($PackageCommands | Where-Object -FilterScript { Return ($_.CommandType -ieq 'Alias') }).Name
2925
Export-ModuleMember -Function $PackageCommandsFunctions -Alias $PackageCommandsAliases

hugoalh.GitHubActionsToolkit/module/nodejs-invoke.psm1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ Function Invoke-NodeJsWrapper {
5050
Return ($Result[($Result.IndexOf($ResultSeparator) + 1)..($Result.Count - 1)] | Join-String -Separator "`n" | ConvertFrom-Json -Depth 100)
5151
} Catch {
5252
Write-Error -Message "Unable to successfully invoke NodeJS wrapper ``$Path``! $_" -Category 'InvalidData'
53-
Return
5453
}
5554
}
5655
Export-ModuleMember -Function @(

hugoalh.GitHubActionsToolkit/module/nodejs-wrapper/cache/restore.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,5 @@ const result = await ghactionsCacheRestoreCache(input.Path, input.PrimaryKey, in
1010
return process.exit(1);
1111
});
1212
console.log(process.argv[3]);
13-
console.log(JSON.stringify({
14-
CacheKey: result
15-
}));
13+
console.log(JSON.stringify({ CacheKey: result }));
1614
process.exit(0);

hugoalh.GitHubActionsToolkit/module/nodejs-wrapper/cache/save.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@ const result = await ghactionsCacheSaveCache(input.Path, input.Key, {
99
return process.exit(1);
1010
});
1111
console.log(process.argv[3]);
12-
console.log(JSON.stringify({
13-
CacheId: result
14-
}));
12+
console.log(JSON.stringify({ CacheId: result }));
1513
process.exit(0);

hugoalh.GitHubActionsToolkit/module/nodejs-wrapper/open-id-connect/get-token.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@ const result = await ghactionsGetOpenIDConnectToken(input.Audience).catch((reaso
66
return process.exit(1);
77
});
88
console.log(process.argv[3]);
9-
console.log(JSON.stringify({
10-
Token: result
11-
}));
9+
console.log(JSON.stringify({ Token: result }));
1210
process.exit(0);

hugoalh.GitHubActionsToolkit/module/nodejs-wrapper/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)