Supports interacting with Github Actions environment
Cmdlet | Synopsis |
---|---|
Add-ActionPath | Prepends path to the PATH (for this action and future actions). |
Add-ActionSecretMask | Registers a secret which will get masked from logs. |
Enter-ActionOutputGroup | Begin an output group. |
Exit-ActionOutputGroup | End an output group. |
Get-ActionContext | Returns details of the executing GitHub Workflow assembled from the environment. |
Get-ActionInput | Gets the value of an input. The value is also trimmed. |
Get-ActionInputs | Returns a map of all the available inputs and their values. |
Get-ActionIssue | Returns details of the issue associated with the workflow trigger, including owner and repo name, and the issue (or PR) number. |
Get-ActionRepo | Returns details of the repository, including owner and repo name. |
Invoke-ActionWithinOutputGroup | Executes the argument script block within an output group. |
Set-ActionFailed | Used as a shortcut for Write-ActionError and exit 1 |
Set-ActionOutput | Sets the value of an output. |
Set-ActionVariable | Sets env variable for this action and future actions in the job. |
Write-ActionDebug | Writes debug message to user log. |
Write-ActionError | Adds an error issue. |
Write-ActionInfo | Writes info to log with console.log. |
Write-ActionWarning | Adds a warning issue. |