I’m migrating MicroZig to 0.16.0, and I’m hitting this issue in CI: https://codeberg.org/ziglang/zig/issues/31964.
Specifically for MicroZig:
/home/runner/work/microzig/microzig/tools/regz/zig-pkg/sqlite3-3.51.0-DMxLWuAOAABO27GnPH0iTeI57EkQPpGwqI7LTfiE4Pda/build.zig.zon:6:20: error: failed to create temporary zip file: FileNotFound
.url = "https://sqlite.org/2025/sqlite-amalgamation-3510000.zip",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It consistently hits this issue because most of our jobs involve fetching zip, and CI starts fresh without the cache directory. The problem is that I’ve tried to make the directory before my zig build without success. Has anyone figured out a quick solution? Here’s all the things I’ve done through trial and error thus far:
If there’s nothing obvious I’m missing I can always skip 0.16 and ride the master branch until 0.17.