🪲 [Fix]: Fix debug and verbose inputs #61
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces updates to improve debug and verbose output handling across the GitHub PowerShell-based action. The changes ensure consistent configuration of debug and verbose preferences and enhance clarity in documentation and workflow files.
Debug and Verbose Output Handling Updates:
.github/workflows/TestWorkflow.yml
: Added the-Debug
parameter to theGet-GitHubUser
command to enable debug output during the workflow execution.action.yml
: Updated the descriptions forDebug
andVerbose
inputs to clarify that they enable debug and verbose output for the entire action. Additionally, configured$DebugPreference
and$VerbosePreference
based on input values to set PowerShell preferences dynamically. [1] [2]scripts/info.ps1
: Removed redundant$DebugPreference
and$VerbosePreference
configuration from theend
block, as these preferences are now set globally in the action runner.scripts/outputs.ps1
: Removed hardcoded$DebugPreference
and$VerbosePreference
settings to align with the new dynamic configuration approach.Documentation Updates:
README.md
: Improved descriptions forDebug
andVerbose
inputs to specify that they enable output for the entire action, enhancing clarity for users.