mirror of
https://github.com/BloopAI/setup-zig.git
synced 2026-11-20 22:40:23 +00:00
Use github cache (#53)
* Cache the zig compiler locally * logging * npm update * verboser * os.arch * debug * log signal * address https://github.com/actions/toolkit/issues/687 * correct path * add a cache: false option * share size * zigpath * path.join skull
This commit is contained in:
@@ -48,6 +48,18 @@ If you are running Zig on Windows machines, you need to make sure that your .zig
|
||||
*.zig text eol=lf
|
||||
```
|
||||
|
||||
This action caches the downloaded compilers in your repository's Actions cache by default,
|
||||
to reduce the load on the Zig Foundation's servers. Cached compilers are only about 60MB
|
||||
each per version/OS/architecture.
|
||||
|
||||
If this is really bad for you for some reason you can disable the caching.
|
||||
|
||||
```yaml
|
||||
- uses: goto-bus-stop/setup-zig@v2
|
||||
with:
|
||||
cache: false
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
[Apache-2.0](LICENSE.md)
|
||||
|
||||
Reference in New Issue
Block a user