Skip to content

v1.0.2

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Jun 00:04
· 1 commit to main since this release
33fe31e

🩹 [Patch]: Add Set-GitHubLogGroup function for logging in GitHub Actions (#4)

Description

This pull request introduces a new PowerShell function, Set-GitHubLogGroup, in the scripts/Helpers/Helpers.psm1 file. The function provides a DSL approach for grouping log lines in GitHub Actions workflows, improving log organization and readability.

New functionality for GitHub Actions:

  • scripts/Helpers/Helpers.psm1: Added the Set-GitHubLogGroup function, which encapsulates commands within a log group for GitHub Actions. It includes support for creating named log groups using the -Name parameter and executing a provided ScriptBlock. An alias LogGroup is also defined for convenience.

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas