Skip to content

Releases: nix-community/cache-nix-action

v6.1.2

12 Mar 09:26
c448f06
Compare
Choose a tag to compare

Fixes

  • Fix nix store database merging logic (#84)

v6

19 Feb 14:12
c448f06
Compare
Choose a tag to compare

Breaking changes

Features

  • Support human-readable values for gc-max-store-size* inputs (#78)
  • Prototype a method for saving flake attributes from garbage collection (#53)

Fixes

  • Update to the latest actions-toolkit (#50).
  • Fix cacheId not set after saving the cache (ddaea70).
  • Fix Nix store database merging logic (use paths instead of hashes) (#69)
  • Fix garbage collection logic (#62, 04c4f50)
  • Fix purging logic (#72)
  • Fix nix store database merging logic (use derivation paths instead of derivation output paths when calculating new derivation ids) (#84)

Documentation and maintenance

  • Bump the nix-quick-install-action to v30

v6.1.1

11 Mar 08:39
Compare
Choose a tag to compare

Fixes

  • Make the warning that the cache save failed to not be printed if we don't save a cache (25b011a).

Documentation and maintenance

  • Add example to the gc-max-store-size input description (6369d8e).
  • Update deps via dependabot

v6.1.0

10 Mar 20:05
Compare
Choose a tag to compare

Features

  • Support human-readable values for gc-max-store-size* inputs (#78)
  • Prototype a method for saving flake attributes from garbage collection (#53)

Fixes

  • Fix Nix store database manipulation (#69)
  • Fix garbage collection logic (#62, 04c4f50)
  • Fix purging logic (#72)

Documentation and maintenance

  • Bump the nix-quick-install-action to v30

v6.0.0

18 Feb 22:39
Compare
Choose a tag to compare

Breaking changes

Fixes

  • Update to the latest actions-toolkit (#50).
  • Fix cacheId not set after saving the cache (ddaea70).

v5.2.1

09 Jun 13:05
8351fb9
Compare
Choose a tag to compare

What's Changed

  • Fix restore despite primary-key hit by @deemp in #45

Full Changelog: v5...v5.2.1

v5

10 Mar 20:48
8351fb9
Compare
Choose a tag to compare

Changes compared to v4

  • Support two backends for the cache package (#40):
    • Add the backend input (there's an issue though)
    • Add BuildJet/toolkit fork (link).
    • Add actions/toolkit fork (link).
  • Patch cache packages to support tar arguments.
    • Also suggest this patch to actions/toolkit (link).
  • Fix cache merging
    • Remove the option --skip-old-files from the tar command in the restore phase to overwrite files that should be overwritten with files from a cache (see the comment).
    • Don't try to restore existing /nix/store files.
    • Fix merging stores #31.
  • Add the save-always input introduced in the actions/cache v4.0.0.
    • Currently, it doesn't work #36.
  • Sync with actions/cache v4.0.2

Note

The release date isn't important. This release was updated via:

git tag -f v5
git push -f --tags

v5.2.0

04 May 09:30
Compare
Choose a tag to compare
  • Support two backends for the cache package (#40):
    • Add the backend input (there's an issue though)
    • Add BuildJet/toolkit fork (link).
    • Add actions/toolkit fork (link).
  • Fix setting outputs (1543078).

v5.1.3

03 Apr 06:04
Compare
Choose a tag to compare

Fix #35 by merging changes from actions/cache.

v5.1.2

01 Apr 16:27
Compare
Choose a tag to compare

Fix missing .sql script - partially fixes #34