Skip to main content

Module core

Module core 

Source
Expand description

Core functions for setting results, logging, registering secrets and exporting variables.

Structs§

InputOptions
Interface for getInput options

Enums§

ExitCode
The code to exit an action

Functions§

add_path
Prepends inputPath to the PATH (for this action and future actions).
debug
Writes debug message to user log.
end_group
End an output group.
error
Adds an error issue.
export_secret
Exports the variable and registers a secret which will get masked from logs.
export_variable
Sets env variable for this action and future actions in the job.
get_input
Gets the value of an input. The value is also trimmed.
group
Wrap an asynchronous function call in a group.
info
Writes info to log with console.log.
issue
issue_command
set_failed
Sets the action status to failed. When the action exits it will be with an exit code of 1.
set_output
Sets the value of an output.
start_group
Begin an output group.
warning
Adds an warning issue.