Skip to content

Commit

Permalink
20230704B
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoalh committed Jul 4, 2023
1 parent 7ffceb4 commit 6dfa737
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 13 additions & 6 deletions hugoalh.GitHubActionsToolkit/module/log.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ Function Write-Debug {
) {
Write-GitHubActionsStdOutCommand -StdOutCommand 'debug' -Value $Message
}
If ($PassThru.IsPresent) {
Write-Output -InputObject $Message
}
}
}
<#
Expand Down Expand Up @@ -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) {
Expand All @@ -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
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 6dfa737

Please sign in to comment.