Important
- This project is transferred ownership from hugoalh Studio (
hugoalh-studio
) to hugoalh (hugoalh
) and refactoring, some of the files may not modified/updated yet. - Looking the source code of the old PowerShell module
hugoalh.GitHubActionsToolkit
? Please visit the versions list and select the correct version.
A PowerShell module to provide a better and easier way for GitHub Actions to communicate with the runner, and the toolkit for developing GitHub Actions.
This is a partial refactor of the official toolkit, not all of the features in the official toolkit are available in here, and not all of the features in here are available in the official toolkit.
- Ability to use directly on GitHub Actions with PowerShell runtime without complex setup.
PowerShell Gallery | |
---|---|
PowerShell >= v7.2.0 | ✔️ |
Note
- It is possible to use this module in other methods/ways which not listed in here, however those methods/ways are not officially supported, and should beware maybe cause security issues.
- PowerShell Gallery:
hugoalh.GitHubActionsCore
Default Prefix: GitHubActions
Add-PATH
Add-ProblemMatcher
Add-SecretMask
Add-Summary
Disable-StdOutCommandEcho
Disable-StdOutCommandProcess
Enable-StdOutCommandEcho
Enable-StdOutCommandProcess
Enter-LogGroup
Exit-LogGroup
Get-DebugStatus
Get-Input
Get-State
Get-WebhookEventPayload
Get-WorkflowRunUri
Remove-ProblemMatcher
Set-EnvironmentVariable
Set-Output
Set-State
Set-Summary
Test-Environment
Write-Debug
Write-Error
Write-Fail
Write-Notice
Write-Warning
Note
- For the full or prettier documentation, can visit via:
-
Set-Output -Name 'foo' -Value 'bar'
-
Write-GitHubActionsNotice -Message 'Hello, world!'