Important
- This project is transferred ownership from hugoalh Studio (
hugoalh-studio) to hugoalh (hugoalh). - 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-PATHAdd-ProblemMatcherAdd-SecretMaskAdd-SummaryDisable-StdOutCommandEchoDisable-StdOutCommandProcessEnable-StdOutCommandEchoEnable-StdOutCommandProcessEnter-LogGroupExit-LogGroupGet-DebugStatusGet-InputGet-StateGet-WebhookEventPayloadGet-WorkflowRunUriRemove-ProblemMatcherSet-EnvironmentVariableSet-OutputSet-StateSet-SummaryTest-EnvironmentWrite-DebugWrite-ErrorWrite-FailWrite-NoticeWrite-Warning
Note
- For the full or prettier documentation, can visit via:
-
Set-Output -Name 'foo' -Value 'bar'
-
Write-Notice -Message 'Hello, world!'