Releases: mlugg/setup-zig
Releases · mlugg/setup-zig
v2.0.1
The recent Zig 0.14.1 release flipped the "arch" and "OS" fields in the tarball name; for instance, zig-x86_64-linux-0.14.1.tar.xz
instead of zig-linux-x86_64-0.14.1.tar.xz
. This brings the tarball names in line with target triple syntax.
The change does not retroactively apply to old Zig tarballs.
So, this patch has only one fix:
- Add support for new Zig tarball name format as of Zig 0.14.1 / 0.15.0-dev.631+9a3540d61
Note
I do not intend to update v1 to support the new tarball name format.
setup-zig
version 1 is considered deprecated. Please upgrade to version 2.
v2.0.0
- Support getting Zig version from
build.zig.zon
- Add option to customize cache key to work around matrix deficiencies
- Clear Zig cache directory when it grows too large
v1.2.2
Warning
Assuming no serious bugs, this will be the last v1 release. I highly recommend upgrading to v2.
- Update mirror list
- Update dependencies
- This includes the cache service, resolving #36; sorry about that one!
- Validate minisign "trusted comment"
v1.2.1
- Fix
.zip
tarball extraction - Add two new mirrors
- Don't attempt to cache global Zig cache if it doesn't exist (#8)
v1.2.0
- Add the
use-cache
option to disable preservation of the Zig global cache directory
v1.1.1
- Fix the restriction of
mirror
to not beziglang.org
(I forgot to implement it before) - Append query parameter to downloads so mirrors can know that traffic is coming from Actions
- Add new mirror (thanks @hryx!)
v1.1.0
- Support looking up Mach nominated versions, e.g.
2024.5.0-mach
- Support overriding download mirror
See README.md for details.
v1.0.0
Initial release. See README.md for details.