Skip to content

Releases: Swatinem/rust-cache

v2.2.1

24 Feb 10:00
v2.2.1
6fd3edf
Compare
Choose a tag to compare
  • Update @actions/cache dependency to fix usage of zstd compression.

v2.2.0

09 Nov 19:16
359a70e
Compare
Choose a tag to compare
  • Add new save-if option to always restore, but only conditionally save the cache.

v2.1.0

06 Nov 09:09
b894d59
Compare
Choose a tag to compare
  • Only hash Cargo.{lock,toml} files in the configured workspace directories.

v2.0.2

03 Nov 10:33
v2.0.2
b5ec9ed
Compare
Choose a tag to compare
  • Avoid calling cargo metadata on pre-cleanup.
  • Added prefix-key, cache-directories and cache-targets options.

v2.0.1

16 Oct 15:01
22c9328
Compare
Choose a tag to compare
  • Primarily just updating dependencies to fix GitHub deprecation notices.

v2.0.0

16 Jul 10:43
6720f05
Compare
Choose a tag to compare
  • The action code was refactored to allow for caching multiple workspaces and
    different target directory layouts.
  • The working-directory and target-dir input options were replaced by a
    single workspaces option that has the form of $workspace -> $target.
  • Support for considering env-vars as part of the cache key.
  • The sharedKey input option was renamed to shared-key for consistency.

v1.4.0

13 Jun 08:45
v1.4.0
cb2cf0c
Compare
Choose a tag to compare
  • Clean both debug and release target directories.

v1.3.0

30 May 09:08
v1.3.0
842ef28
Compare
Choose a tag to compare
  • Use Rust toolchain file as additional cache key.
  • Allow for a configurable target-dir.

v1.2.0

16 Feb 08:10
Compare
Choose a tag to compare
  • Cache ~/.cargo/bin.
  • Support for custom $CARGO_HOME.
  • Add a cache-hit output.
  • Add a new sharedKey option that overrides the automatic job-name based key.

v1.1.0

16 Feb 08:10
Compare
Choose a tag to compare
  • Add a new working-directory input.
  • Support caching git dependencies.
  • Lots of other improvements.