Set an actions output parameter. These can be accessed in later steps.
octo_set_output(value, name)
A single line string (or coercible to character). Use
encode_string()
to encode a numeric
or multiline string.
A character vector length 1.
Sys.setenv(GITHUB_ACTION = "true")
string <- "A multi-line \n String."
value <- encode_string(string)
#> Error in encode_string(string): could not find function "encode_string"
octo_set_output("important-value", value)
#> NULL