🪲 [Fix]: Fix setting the $ErrorView
setting via inputs (#53)
This pull request introduces changes related to the handling of the ErrorView
configuration in a GitHub Actions workflow. The changes streamline the ErrorView
initialization logic by removing redundant code and adding validation to ensure ErrorView
is set correctly during runtime.
Changes to ErrorView
handling:
.github/workflows/TestWorkflow.yml
: Added a validation step to confirm thatErrorView
is set to'NormalView'
during the workflow execution. If not, an exception is thrown.action.yml
: Introduced the assignment of theErrorView
environment variable from the input parameter for use in subsequent scripts.scripts/init.ps1
: Removed the redundant initialization and validation logic forErrorView
, as this is now handled directly in the workflow and action configuration.