octo_add_path: Add a system path

View source: R/commands.R

octo_add_pathR Documentation

Add a system path

Description

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.

Usage

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.

Value

dir invisibly.

See Also

The octolog example workflow and the GitHub Docs.

Examples

## Not run: 
octo_add_path("/.local/bin")

## End(Not run)

assignUser/octolog documentation built on June 4, 2023, 3:28 p.m.