Skip to content

Releases: mlugg/setup-zig

v2.0.1

24 May 16:10
7dccf5e
Compare
Choose a tag to compare

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

07 May 02:36
aa9ad5c
Compare
Choose a tag to compare
  • 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

07 May 02:33
53fc45b
Compare
Choose a tag to compare

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

18 Sep 15:31
Compare
Choose a tag to compare
  • 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

11 Jun 22:35
586e886
Compare
Choose a tag to compare
  • Add the use-cache option to disable preservation of the Zig global cache directory

v1.1.1

09 Jun 20:24
9cfad99
Compare
Choose a tag to compare
  • Fix the restriction of mirror to not be ziglang.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

08 Jun 16:05
77c12e1
Compare
Choose a tag to compare
  • Support looking up Mach nominated versions, e.g. 2024.5.0-mach
  • Support overriding download mirror

See README.md for details.

v1.0.0

08 Jun 15:01
2a0f10e
Compare
Choose a tag to compare

Initial release. See README.md for details.