nix-community / cache-nix-action

Cache Nix store in GitHub Actions to speed up workflows [maintainer=@deemp]
MIT License
29 stars 6 forks source link

rate limit errors #11

Closed 573 closed 10 months ago

573 commented 10 months ago

Using the action here I get rate limit errors in the end, see here.

deemp commented 10 months ago

I suppose it's due to cachix. Try using a smaller matrix to make less requests to cachix.

https://github.com/573/nix-config-1/pull/4

573 commented 10 months ago

This was the solution. In case one wants to push artifacts generated via gha to cachix do you think this would be achievable paired with cache-nix-action ?

deemp commented 10 months ago

What's an artifact in this case?

A cache produced by cache-nix-action isn't an artifact. Such a cache contains the whole nix store. You can push the whole store to cachix.