diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 396774d..736a151 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -18,7 +18,7 @@ body: description: "What versions are affected? Versions must be listed as supported in the Security Policy (file: `SECURITY.md`)." multiple: true options: - - "v1.6.0-beta.3" + - "v1.6.0-beta.4" - "v1.5.0" - "v1.4.1" - "v1.4.0" diff --git a/hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psd1 b/hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psd1 index 217feb8..48c8028 100644 --- a/hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psd1 +++ b/hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psd1 @@ -266,7 +266,7 @@ ReleaseNotes = '(Please visit https://github.com/hugoalh-studio/ghactions-toolkit-powershell/releases.)' # Prerelease string of this module - Prerelease = 'beta3' + Prerelease = 'beta4' # Flag to indicate whether the module requires explicit user acceptance for install/update/save RequireLicenseAcceptance = $False diff --git a/hugoalh.GitHubActionsToolkit/module/log.psm1 b/hugoalh.GitHubActionsToolkit/module/log.psm1 index 353066b..2b407b8 100644 --- a/hugoalh.GitHubActionsToolkit/module/log.psm1 +++ b/hugoalh.GitHubActionsToolkit/module/log.psm1 @@ -154,6 +154,9 @@ Function Write-Debug { ) { Write-GitHubActionsStdOutCommand -StdOutCommand 'debug' -Value $Message } + If ($PassThru.IsPresent) { + Write-Output -InputObject $Message + } } } <# @@ -304,10 +307,12 @@ Function Write-Raw { [Switch]$PassThru ) Begin { - If ($WriteIf -and $GroupTitle.Length -gt 0) { - Enter-LogGroup -Title $GroupTitle + If ($WriteIf) { + If ($GroupTitle.Length -gt 0) { + Enter-LogGroup -Title $GroupTitle + } + [String]$EndToken = Disable-GitHubActionsStdOutCommandProcess } - [String]$EndToken = Disable-GitHubActionsStdOutCommandProcess } Process { If ($WriteIf) { @@ -318,9 +323,11 @@ Function Write-Raw { } } End { - Enable-GitHubActionsStdOutCommandProcess -EndToken $EndToken - If ($WriteIf -and $GroupTitle.Length -gt 0) { - Exit-LogGroup + If ($WriteIf) { + Enable-GitHubActionsStdOutCommandProcess -EndToken $EndToken + If ($GroupTitle.Length -gt 0) { + Exit-LogGroup + } } } } diff --git a/hugoalh.GitHubActionsToolkit/module/nodejs-wrapper/package.json b/hugoalh.GitHubActionsToolkit/module/nodejs-wrapper/package.json index a963d62..9326b31 100644 --- a/hugoalh.GitHubActionsToolkit/module/nodejs-wrapper/package.json +++ b/hugoalh.GitHubActionsToolkit/module/nodejs-wrapper/package.json @@ -1,6 +1,6 @@ { "name": "@hugoalh/ghactions-toolkit-powershell-nodejs-wrapper", - "version": "1.6.0-beta.3", + "version": "1.6.0-beta.4", "description": "A PowerShell module to provide a better and easier way for GitHub Actions to communicate with the runner machine, and the toolkit for developing GitHub Actions in PowerShell.", "keywords": [ "gh-actions", diff --git a/package.json b/package.json index 2812888..a390289 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hugoalh/ghactions-toolkit-powershell-nodejs-wrapper", - "version": "1.6.0-beta.3", + "version": "1.6.0-beta.4", "description": "A PowerShell module to provide a better and easier way for GitHub Actions to communicate with the runner machine, and the toolkit for developing GitHub Actions in PowerShell.", "keywords": [ "gh-actions",