octo_start_group: Grouping log lines

View source: R/commands.R

octo_start_groupR Documentation

Grouping log lines

Description

These functions make it possible to group lines in the GitHub Actions log. Groups can not be nested at this point, see this issue.

Usage

octo_start_group(name)

octo_end_group()

Arguments

name

Name of the group, single line.

See Also

GitHub Docs

Examples

Sys.setenv(GITHUB_ACTIONS = "TRUE")
octo_start_group("Print stuff")
print("Log other output")
octo_end_group()

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