-
Notifications
You must be signed in to change notification settings - Fork 1
/
octo_add_path.Rd
31 lines (30 loc) · 929 Bytes
/
octo_add_path.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/commands.R
\name{octo_add_path}
\alias{octo_add_path}
\title{Add a system path}
\usage{
octo_add_path(dir, check = TRUE)
}
\arguments{
\item{dir}{A directory. If relative will turned absolute using
\code{\link[base:getwd]{base::getwd()}}.}
\item{check}{Should be checked that \code{dir} is an existing dir.}
}
\value{
\code{dir} invisibly.
}
\description{
Prepends a directory so the runners \code{PATH} envvar in a way that make it
available in the following steps of the action. The \code{PATH} will not update
during this step.
}
\examples{
\dontrun{
octo_add_path("/.local/bin")
}
}
\seealso{
The \href{https://github.com/assignUser/octolog/actions/workflows/test-octolog.yaml}{{octolog} example workflow}
and the \href{https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-system-path}{GitHub Docs}.
}