Documentation
¶
Index ¶
- func DownloadPwsh(ctx context.Context, logger Logger, plat string, dest string, version string) error
- func DownloadRunner(ctx context.Context, logger Logger, plat string, dest string, version string) error
- func DownloadRunnerServer(ctx context.Context, logger Logger, plat string, dest string, version string) error
- func DownloadTool(ctx context.Context, logger Logger, url, dest string) error
- func ExtractTar(in io.Reader, dst string) error
- func ExtractTarGz(reader io.Reader, dir string) error
- func ExtractZip(in io.ReaderAt, size int64, dst string) error
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadPwsh ¶
func DownloadPwsh(ctx context.Context, logger Logger, plat string, dest string, version string) error
The windows version required pwsh to be able to send the job request, powershell 5 not supported
func DownloadRunner ¶
func DownloadRunner(ctx context.Context, logger Logger, plat string, dest string, version string) error
Official GitHub Actions Runner
Types ¶
Click to show internal directories.
Click to hide internal directories.