import { commands } from "https://deno.land/x/actionify@0.3.0/mod.ts";
const { group } = commands;
Creates an expandable group in the log. To create a group, use the group command and specify a title. Anything you print to the log between the group and endgroup commands is nested inside an expandable entry in the log.
This can be used to run multiple commands in a single run command.
import { commands, e, step } from "https://deno.land/x/actionify@0.3.0/mod.ts";
const exampleStep = step()
.run(commands.group("My group", [
commands.setOutput(
"variableName",
e.hashFiles("**package.json"),
),
'Another command',
commands.setOutput(
"anotherOne",
e.hashFiles("**lock.json"),
),
]));
Type Parameters
Commands extends AnyCommand
Parameters
commands: Array<Commands | string>