Documentation ¶
Index ¶
- Constants
- func AddFlagFromEnv(flags *[]string, flagFormat int, name, key string)
- func AddPath(val string)
- func CacheTool(path, name, version, arch string) string
- func Command(val string, args ...string)
- func Debug(msg string)
- func DownloadFile(url string, options ...*DownloadOptions) string
- func EndGroup()
- func Error(msg string)
- func ExportVar(key, val string)
- func Extract7z()
- func ExtractTar(path string, options ...*ExtractOptions) string
- func ExtractZip()
- func Find()
- func FindAllVersions()
- func GetInput(key string, options ...*InputOptions) string
- func GetState(key string, options ...*InputOptions) string
- func GoToWorkspace(keys ...string)
- func GunzipFile(path string, options ...*ExtractOptions) string
- func Info(msg string, args ...interface{})
- func InstallBin(paths ...string)
- func MakeExecutable(paths ...string)
- func MkdirRand(base string) string
- func Pause() func()
- func SaveState(key, val string)
- func SetFailed(msg string)
- func SetOutput(key string, val interface{})
- func SetSecret(val string)
- func StartGroup(key string)
- func Warning(msg string)
- type DownloadOptions
- type ExecOptions
- type ExtractOptions
- type InputOptions
Constants ¶
View Source
const ( IS_WINDOWS = runtime.GOOS == "windows" IS_DARWIN = runtime.GOOS == "darwin" USER_AGENT = "maurerlabs/actions/toolkit" )
Variables ¶
This section is empty.
Functions ¶
func AddFlagFromEnv ¶
func DownloadFile ¶
func DownloadFile(url string, options ...*DownloadOptions) string
func ExtractTar ¶
func ExtractTar(path string, options ...*ExtractOptions) string
func ExtractZip ¶
func ExtractZip()
func FindAllVersions ¶
func FindAllVersions()
func GetInput ¶
func GetInput(key string, options ...*InputOptions) string
func GetState ¶
func GetState(key string, options ...*InputOptions) string
func GoToWorkspace ¶
func GoToWorkspace(keys ...string)
func GunzipFile ¶
func GunzipFile(path string, options ...*ExtractOptions) string
func InstallBin ¶
func InstallBin(paths ...string)
func MakeExecutable ¶
func MakeExecutable(paths ...string)
func StartGroup ¶
func StartGroup(key string)
Types ¶
type DownloadOptions ¶
type ExecOptions ¶
type ExtractOptions ¶
type InputOptions ¶
Click to show internal directories.
Click to hide internal directories.