🪲 [Fix]: Fix debug and verbose inputs (#61)
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.