Prepends a directory so the runners PATH envvar in a way that make it available in the following steps of the action. The PATH will not update during this step.

octo_add_path(dir, check = TRUE)

Arguments

dir

A directory. If relative will turned absolute using base::getwd().

check

Should be checked that dir is an existing dir.

See also

Examples

if (FALSE) {
octo_addpath("/.local/bin")
}