package
0.0.0-20231022202615-3973644be7a1
Repository: https://github.com/actions-go/toolkit.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
CacheDir caches a directory and installs it into the tool cacheDir with a given targetName.
CacheFile caches a downloaded file (GUID) and installs it into the tool cache with a given targetName.
DownloadTool Download a tool from an url and stream it into a file.
FindVersion finds the path to a tool version in the local installed tool cache by matching the pattern provided in the Version field.
GetCachedToolOrDownload returns the path of a cached tool or downloads and caches it.
ListAllCachedVersions discovers all versions available in cache.
# Structs
CacheOptions defines the available options for tool and file caching.
DownloadToolOptions defines available options to download tools.