Releases: PSModule/GitHub-Script
v1.5.1
🩹 [Patch]: Add tests for logging commands for GitHub Actions workflow (#51)
Description
This pull request adds tests various log functions that work in GitHub Actions.
Logging enhancements:
.github/workflows/TestWorkflow.yml
: Added some tests to show how log notices, warnings, errors, debug messages, and styled log messages with foreground and background colors work.
v1.5.0
🚀 New Feature: ErrorView
Configuration
This release introduces a new feature to configure the PowerShell $ErrorView
variable in the GitHub Action. This also sets the default to NormalView
whereas the default in PowerShell is ConciseView
. NormalView
provides more information that would be great to get when troubleshooting errors in GitHub workflows. Users can still override this by adding their own settings in the provided script or using the input to set a different value when building actions or workflows.
Details
- Introduced the
ErrorView
input inaction.yml
, including its description, default value ('NormalView'
), and marking it as optional. - The input is mapped to the new environment variable
PSMODULE_GITHUB_SCRIPT_INPUT_ErrorView
in theaction.yml
file. - The environment variable is validated using wildcard matching against a predefined list of valid views, applies the matched view setting.
- Added a description for the new
ErrorView
option in theREADME.md
file. This option allows users to configure the$ErrorView
variable using full or partial names of valid views.
v1.4.12
What's Changed
- 🩹 [Patch]: Update Action name to be that of the
Name
input by @MariusStorhaug in #48
Full Changelog: v1...v1.4.12
v1.4.11
v1.4.10
What's Changed
- 🩹 [Patch]: Enable reinstall of modules to ensure the correct version of
GitHub
is installed by @MariusStorhaug in #46
Full Changelog: v1...v1.4.10
v1.4.9
What's Changed
- 🩹 [Patch]: Update default values for WorkingDirectory to be '.' by @MariusStorhaug in #45
Full Changelog: v1...v1.4.9
v1.4.8
What's Changed
- 🩹 [Patch]: Update scripts to output as strings by @MariusStorhaug in #44
Full Changelog: v1...v1.4.8
v1.4.7
What's Changed
- 🩹 [Patch]: Update environment variable prefixes for GitHub script inputs by @MariusStorhaug in #43
Full Changelog: v1...v1.4.7
v1.4.6
What's Changed
- 🩹 [Patch]: Fix
gh auth status
issue + add complex and actual use-case forSet-GitHubOutput
by @MariusStorhaug in #41
Full Changelog: v1...v1.4.6
v1.4.5
What's Changed
- 🩹 [Patch]: Add try/finally blocks by @MariusStorhaug in #38
Full Changelog: v1...v1.4.5