[][src]Crate actions_core

Structs

Core
Log

Enums

LogLevel

Functions

add_mask

Masking a value prevents a string or variable from being printed in the log. Each masked word separated by whitespace is replaced with the * character.

add_path

Appends a directory to the system PATH variable for all subsequent actions in the current job as well as the currently running action.

debug

Prints a debug message to the log. Action debugging may be enabled by setting a ACTION_STEP_DEBUG secret to true in the repo. You can optionally provide a file, line and col with the log_error function.

error

Prints an error message to the log. You can optionally provide a file, line and col with the log_error function.

input

Get an action's input parameter.

is_debug

Returns true if debugging is enabled Action debugging may be enabled by setting a ACTION_STEP_DEBUG secret to true in the repo.

log
log_debug
log_error
log_message
log_warning
save_state

Similar to set_output, but, shares data from a wrapper action.

set_env

Creates or updates an environment variable for any actions running next in a job. Environment variables are immediately set and available to the currently running action. Environment variables are case-sensitive and you can include punctuation.

set_output

Sets an action's output parameter.

state

Similar to input, but, gets data shared from a wrapper action.

stop_logging

Stops processing workflow commands while the provided function runs. A token is randomly generated and used to re-enable commands after completion.

warning

Prints a warning message to the log. You can optionally provide a file, line and col with the log_warning function.