Skip to content

Releases: cachix/cachix-action

cachix-action-v12

27 Oct 11:48
6a9a34c
Compare
Choose a tag to compare

Fix save-state deprecation warning.

cachix-action-v11

12 Oct 09:02
75d46f5
Compare
Choose a tag to compare
  • 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

06 Apr 13:45
73e75d1
Compare
Choose a tag to compare

The previous release broke installations when using Nix from master branch.

This bug is fixed and has a regression test.

cachix-action-v9

02 Apr 15:39
2689c27
Compare
Choose a tag to compare
  • 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

10 Nov 16:02
6e4751e
Compare
Choose a tag to compare

cachix-action-v7

04 Nov 15:43
e689c31
Compare
Choose a tag to compare
  • 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

22 Apr 14:41
490a246
Compare
Choose a tag to compare
  • BREAKING CHANGE: cachix-action no longer runs nix-build, so make sure to append run: nix-build to your job configuration

  • bundle all dependencies, reducing the time needed to fetch the job for ~5s

  • silently install cachix to reduce noise

  • push even if the build fails #33

  • restore reproducibility #36

cachix-action-v5

01 Mar 10:19
a254285
Compare
Choose a tag to compare

v4 had a regression of not building anything in PRs

cachix-action-v4

27 Feb 16:08
16c20cb
Compare
Choose a tag to compare
  • 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.

cachix-action-v3

20 Dec 14:57
a2e348a
Compare
Choose a tag to compare
  • add skipNixBuild option. By default false. If true, 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