-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🩹 [Patch]: Improve debug and null/blank values on the GitHub Actions output commands #250
Conversation
…nsistently handle multi-line values and add SkipTests option in workflow
Module [GitHub - v0.11.39-outputFixes1] published to the PowerShell Gallery. |
GitHub release for GitHub v0.11.39-outputFixes1 has been created. |
Module [GitHub - v0.11.39-outputFixes2] published to the PowerShell Gallery. |
GitHub release for GitHub v0.11.39-outputFixes2 has been created. |
…improve debug logging for line processing
Module [GitHub - v0.11.39-outputFixes3] published to the PowerShell Gallery. |
GitHub release for GitHub v0.11.39-outputFixes3 has been created. |
…ertFrom-GitHubOutput
Module [GitHub - v0.11.39-outputFixes4] published to the PowerShell Gallery. |
GitHub release for GitHub v0.11.39-outputFixes4 has been created. |
…es and enhance debug logging
Module [GitHub - v0.11.39-outputFixes5] published to the PowerShell Gallery. |
GitHub release for GitHub v0.11.39-outputFixes5 has been created. |
…alues and improve debug logging
Module [GitHub - v0.11.39-outputFixes6] published to the PowerShell Gallery. |
GitHub release for GitHub v0.11.39-outputFixes6 has been created. |
Module [GitHub - v0.11.39-outputFixes7] published to the PowerShell Gallery. |
GitHub release for GitHub v0.11.39-outputFixes7 has been created. |
Module [GitHub - v0.11.39-outputFixes8] published to the PowerShell Gallery. |
GitHub release for GitHub v0.11.39-outputFixes8 has been created. |
Module [GitHub - v0.11.39-outputFixes9] published to the PowerShell Gallery. |
GitHub release for GitHub v0.11.39-outputFixes9 has been created. |
Module [GitHub - v0.11.39-outputFixes10] published to the PowerShell Gallery. |
GitHub release for GitHub v0.11.39-outputFixes10 has been created. |
…tput in Set-GitHubOutput function
a12fc98
to
e35ff10
Compare
*-GitHubOutput
Module [GitHub - v0.11.39] published to the PowerShell Gallery. |
GitHub release for GitHub v0.11.39 has been created. |
Description
This pull request improves the debugging capabilities and handling of null or empty values in various functions related to GitHub Action outputs.
Enhancements to debugging and handling of null or empty values:
src/functions/private/Commands/ConvertFrom-GitHubOutput.ps1
: Added multipleWrite-Debug
statements to provide detailed logging of the process flow and improved handling of null or empty$InputData
and values. [1] [2]src/functions/private/Commands/ConvertTo-GitHubOutput.ps1
: AddedWrite-Debug
statements to log the input object type and value, and the processing of properties, including conversion to JSON with increased depth. [1] [2]src/functions/public/Commands/Get-GitHubOutput.ps1
: Modified to read the file content as raw and added logic to handle empty lines, along with additional debug logging.src/functions/public/Commands/Set-GitHubOutput.ps1
: Added aWrite-Verbose
statement to log the output availability in a more detailed manner.Type of change
Checklist