github

package
v0.0.0-...-ae1b243 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NameMatrix

func NameMatrix(namers []Namer) (string, error)

NameMatrix returns a GitHub Actions matrix that will be used to dynamically generate a matrix of test jobs. This returns a JSON string that can be unmarshalled into a matrix https://github.blog/changelog/2020-04-15-github-actions-new-workflow-features/#new-fromjson-method-in-expressions.

func SetOutput

func SetOutput(name, value string)

SetOutput sets the GitHub Actions output with the given name and value. This panics if it can't write the output.

Types

type Namer

type Namer interface {
	Name() string
}

Jump to

Keyboard shortcuts

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