actions

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package actions provide the support for creating cli commands that run in GitHub actions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubActionCommand

type GitHubActionCommand struct {
	cli.BaseCommand

	FlagIsGitHubActions bool

	Action *githubactions.Action
}

func (*GitHubActionCommand) Register

func (c *GitHubActionCommand) Register(set *cli.FlagSet)

func (*GitHubActionCommand) WithActionsOutGroup

func (c *GitHubActionCommand) WithActionsOutGroup(msg string, fn func() error) error

WithActionsOutGroup runs a function and ensures it is wrapped in GitHub actions grouping syntax. If this is not in an action, output is printed without grouping syntax.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL