Releases: cachix/cachix-action
Releases · cachix/cachix-action
cachix-action-v12
Fix save-state
deprecation warning.
cachix-action-v11
- Allow pushFilter regex to start with a dash
- Add pathsToPush and cachixArgs
- Avoid pushing .drv.chroot files
- Self-hosted runner support improvements
cachix-action-v10
The previous release broke installations when using Nix from master branch.
This bug is fixed and has a regression test.
cachix-action-v9
- when the action fails, don't display a frightening traceback
- use only stable Nix commands to avoid extra Nix configuration when using flakes
- new option
pushFilter
: Regular expression to exclude derivations when pushing, for example "(-source$|nixpkgs.tar.gz$)". Warning: this filter doet not guarantee it will not get pushed in case the path is part of the closure of something that will get pushed.
cachix-action-v8
Support for write auth tokens - see https://blog.cachix.org/posts/2020-11-09-write-access-control-for-binary-caches/
cachix-action-v7
-
Replaced deprecated GitHub functions
-
Added
extraPullNames
option to specify additional caches to pull from -
Added
installCommand
option to allow overriding how Cachix is installed
cachix-action-v6
cachix-action-v5
v4 had a regression of not building anything in PRs
cachix-action-v4
-
Add
nixBuildArgs
parameter -
Simplify how paths are pushed
Previously we were setting up Nix build hook to make sure all paths are
synced to cachix.This had a few flaws:
- nix-daemon had to be restarted, resulting into a few seconds extra
setup per each build - spurious error on macos due to nix-daemon socket not ready in time
- significant overhead since syncing to cachix was synchronous for each
derivation built
Now we just look for new store paths and push those after nix-build.
- nix-daemon had to be restarted, resulting into a few seconds extra
cachix-action-v3
- add
skipNixBuild
option. By defaultfalse
. Iftrue
, caches will only be configured for pulling, avoiding pushing and nix-build - upload all build-time (not only run-time) dependencies to Cachix via post-build-hook
- use official Cachix installation URL