tamnd/Setup Zig Compiler

Download and install the Zig compiler, and cache the global Zig cache

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionVersion of the Zig compiler, e.g. "0.13.0" or "0.13.0-dev.351+64ef45eb0". "master" uses the latest nightly build. "latest" uses the latest tagged release. Leave empty to use minimum_zig_version from build.zig.zon, with a fallback to "latest".""
mirrorOverride of Zig download mirror to use, e.g. "https://pkg.machengine.org/zig".no""
use-cacheWhether to cache the global and local Zig cache directories.yestrue
cache-keyAdditional cache key component to include when caching the global Zig cache directory. When using a matrix strategy, this should include the matrix variables to ensure all jobs are cached. Matrix variables which decide the OS can be omitted, since the OS is always included in the cache key.no""
cache-size-limitThe maximum permitted size of the global Zig cache directory, in MiB. When the cache directory exceeds this size, it is cleared. Default is 2048 (2 GiB). 0 means no limit.yes2048
use-tool-cacheOverride whether to use the tool cache when caching Zig installations. Default is false for GitHub-hosted runners, true for other runners.no""

no outputs