Cmdlet | Synopsis |
---|---|
Add-ActionPath | Prepends path to the PATH (for this action and future actions). Equivalent of core.addPath(path) . |
Add-ActionSecret | Registers a secret which will get masked from logs. Equivalent of core.setSecret(secret) . |
Enter-ActionOutputGroup | Begin an output group. Output until the next groupEnd will be foldable in this group. Equivalent of core.startGroup(name) . |
Exit-ActionOutputGroup | End an output group. Equivalent of core.endGroup() . |
Get-ActionInput | Gets the value of an input. The value is also trimmed. Equivalent of core.getInput(name) . |
Get-ActionIsDebug | Gets whether Actions Step Debug is on or not. Equivalent of core.isDebug() . |
Invoke-ActionGroup | Executes the argument script block within an output group. Equivalent of core.group(name, func) . |
Invoke-ActionNoCommandsBlock | Invokes a scriptblock that won't result in any output interpreted as a workflow command. Useful for printing arbitrary text that may contain command-like text. No quivalent in @actions/core package. |
Send-ActionCommand | Sends a command to the hosting Workflow/Action context. Equivalent to core.issue(cmd, msg) /core.issueCommand(cmd, props, msg) . |
Send-ActionFileCommand | Sends a command to an Action Environment File. Equivalent to core.issueFileCommand(cmd, msg) . |
Set-ActionCommandEcho | Enables or disables the echoing of commands into stdout for the rest of the step. Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. Equivalent of core.setCommandEcho(enabled) . |
Set-ActionFailed | Sets an action status to failed. When the action exits it will be with an exit code of 1. Equivalent of core.setFailed(message) . |
Set-ActionOutput | Sets the value of an output. Equivalent of core.setOutput(name, value) . |
Set-ActionVariable | Sets env variable for this action and future actions in the job. Equivalent of core.exportVariable(name, value) . |
Write-ActionDebug | Writes debug message to user log. Equivalent of core.debug(message) . |
Write-ActionError | Adds an error issue. Equivalent of core.error(message) . |
Write-ActionInfo | Writes info to log with console.log. Equivalent of core.info(message) . Forwards to Write-Host. |
Write-ActionWarning | Adds a warning issue. Equivalent of core.warning(message) . |