🩹 [Patch]: Add more workflow command functions #169
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.
Description
This pull request includes several new functions and improvements to existing ones in the
src/functions/public/Commands
directory. The most important changes include the addition of new functions for GitHub Actions, updates to existing functions to enhance their capabilities, and renaming of functions for better clarity.Additions:
Add-GitHubSystemPath.ps1
: Adds a new function to prepend a directory to the system PATH variable.Disable-GitHubCommand.ps1
: Introduces a function to stop processing workflow commands.Enable-GitHubCommand.ps1
: Adds a function to resume processing workflow commands.Set-GitHubStepSummary.ps1
: Adds a function to set a summary for the step in GitHub Actions.Write-GitHubDebug.ps1
: Introduces a function to write a debug message in GitHub Actions.Updates:
Add-GitHubMask.ps1
: Updates the description to clarify that it masks a value in a log.Set-GitHubEnvironmentVariable.ps1
: Enhances the function to support multiline strings and adds verbose logging.Set-GitHubOutput.ps1
: Updates the function to support SecureString and multiline strings, and adds verbose logging.Renaming to align with GitHub prefix:
Add-Mask.ps1
toAdd-GitHubMask.ps1
(Added Add-Mask as alias).Set-LogGroup.ps1
toSet-GitHubLogGroup.ps1
Start-LogGroup.ps1
toStart-GitHubLogGroup.ps1
Stop-LogGroup.ps1
toStop-GitHubLogGroup.ps1
Type of change
Checklist