-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add workflow for pushing nix flake artifacts to Cachix #1721
Conversation
I made another cache edit: it downloaded it straight from cachix and was super fast! 🎊
|
❤️ 🎊 looks great! |
Added the |
I wonder if this should be enabled on push to master plus pull_request? That might make the cache fill up quickly though 🤔 |
I'd only do it to pushes to master, was considering if it would make sense to limit it to once per day/some nightly tag even. |
Cachix does automatic garbage collection |
Even with the garbage collection I'm worried the 5GB would fill up too fast with pull_request on. If we have a lot of PRs open and master isn't updated in a while, the master build might be pruned to make space for builds on PRs, right? OTOH I think it would be useful to cache pull_requests - it would make it very easy to jump between branches when reviewing or trying out new changes. |
closes #1717
based on https://github.com/cachix/install-nix-action/tree/b2b9fc6cf9ad2446d49c06143ad34b98bf73be99#usage-with-flakes
I grabbed the
helix
cache on Cachix. I'll need to coordinate with @archseer to get the auth token secret set up in actions.