cachix-action

Build software only once and put it in a global cache

APACHE-2.0 License

Stars
249
Committers
18

Bot releases are hidden (Show)

cachix-action - cachix-action-v15 Latest Release

Published by domenkozar 5 months ago

What's Changed

Full Changelog: https://github.com/cachix/cachix-action/compare/v14...v15

cachix-action - cachix-action-v14

Published by domenkozar 9 months ago

cachix-action - cachix-action-v13

Published by domenkozar 11 months ago

  • run on node20
  • add skipAddingSubstituter to skip running cachix use
cachix-action - cachix-action-v12

Published by domenkozar almost 2 years ago

Fix save-state deprecation warning.

cachix-action - cachix-action-v11

Published by domenkozar about 2 years ago

  • Allow pushFilter regex to start with a dash
  • Add pathsToPush and cachixArgs
  • Avoid pushing .drv.chroot files
  • Self-hosted runner support improvements
cachix-action - cachix-action-v10

Published by domenkozar over 3 years ago

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

This bug is fixed and has a regression test.

cachix-action - cachix-action-v9

Published by domenkozar over 3 years ago

  • 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 - cachix-action-v8

Published by domenkozar almost 4 years ago

cachix-action - cachix-action-v7

Published by domenkozar almost 4 years ago

  • 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 - cachix-action-v6

Published by domenkozar over 4 years ago

  • 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 - cachix-action-v5

Published by domenkozar over 4 years ago

v4 had a regression of not building anything in PRs

cachix-action - cachix-action-v4

Published by domenkozar over 4 years ago

  • 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 - cachix-action-v3

Published by domenkozar almost 5 years ago

  • 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
cachix-action - cachix-action-v2

Published by domenkozar about 5 years ago

  • fix cachix: CppStdException "Exception: path '/nix/store/... ' is not valid; type: nix::InvalidPath"

  • don't error out if signing key is missing (typical on pull requests)

cachix-action - cachix-action-v1

Published by domenkozar about 5 years ago

Initial release