Open britown88 opened 10 months ago
Same here, thanks for reporting this.
I think I finally found the issue:
Per that error message, it's omitting the build metadata part of the version when installing, i.e, we see this
zig installed at C:\hostedtoolcache\windows\zig\0.12.0-dev.1092\x64
which doesn't include the +68ed78775
suffix from the version being used, 0.12.0-dev.1092+68ed78775
.
So, it seems like the build metadata is breaking something.... 🤔
I then updated a fork of this repo to ignore the build metadata, and it seems to cache fine for me now.
Try it out like so:
- uses: jethrodaniel/setup-zig@fix-caching
with:
version: 0.12.0-dev.903+7aa85691b
This has been working great except the cache never seems to work so it downloads new every time.
Any idea?