rust-cache/CHANGELOG.md

65 lines
1.6 KiB
Markdown
Raw Normal View History

2020-09-28 18:53:56 +08:00
# Changelog
2023-02-24 17:59:55 +08:00
## 2.2.1
- Update `@actions/cache` dependency to fix usage of `zstd` compression.
2022-11-10 03:14:41 +08:00
## 2.2.0
- Add new `save-if` option to always restore, but only conditionally save the cache.
## 2.1.0
- Only hash `Cargo.{lock,toml}` files in the configured workspace directories.
## 2.0.2
- Avoid calling `cargo metadata` on pre-cleanup.
- Added `prefix-key`, `cache-directories` and `cache-targets` options.
2022-10-16 22:54:17 +08:00
## 2.0.1
- Primarily just updating dependencies to fix GitHub deprecation notices.
2022-07-16 18:38:38 +08:00
## 2.0.0
- 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.
2022-04-08 23:27:07 +08:00
## 1.4.0
- Clean both `debug` and `release` target directories.
2021-05-30 17:04:10 +08:00
## 1.3.0
- Use Rust toolchain file as additional cache key.
- Allow for a configurable target-dir.
2021-02-16 16:08:48 +08:00
## 1.2.0
- 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.
## 1.1.0
- Add a new `working-directory` input.
- Support caching git dependencies.
- Lots of other improvements.
2020-09-29 18:30:19 +08:00
## 1.0.2
- Dont prune targets that have a different name from the crate, but do prune targets from the workspace.
2020-09-28 19:06:41 +08:00
## 1.0.1
2020-09-28 18:53:56 +08:00
- Improved logging output.
- Make sure to consider `all-features` dependencies when pruning.
- Work around macOS cache corruption.
- Remove git-db cache for now.