Releases: bitrise-steplib/bitrise-step-save-cache
1.4.0
1.3.1
1.3.0
New step input: compression_level
. Set this to change the compression level used by zstd to control speed / archive size when uploading cache. Setting to 1 is the fastest option, while 19 produces the smallest archive. The default is 3.
What's Changed
- feat: ACI-2216 Add compression level step input by @zsolt-marta-bitrise in #30
Full Changelog: 1.2.0...1.3.0
1.2.0
What's Changed
- feat: GCI-18 - Bumped go-steputils to v2.0.0-alpha.25 by @bvatai-br in #29
New Contributors
- @bvatai-br made their first contribution in #29
Full Changelog: 1.1.2...1.2.0
1.1.2
1.1.1
1.1.0: Skip saving unchanged cache
The step can now skip saving the cache if it detects that the new cache would have the same contents as previously restored in the workflow with the restore-cache
step. This requires two things:
- use a cache key that includes a checksum (thus the key changes every time the cached files change)
- opt-in to this optimization by setting the
is_key_unique
input totrue
Even if is_key_unique
is false (the default value), the step can skip the uploading phase, but it needs to create the compressed archive still. Make sure to use checksums in the cache key and set is_key_unique
for the best results.
Note: this feature requires support from the restore-cache
step too, make sure to upgrade to version 1.0.2.
What's Changed
Full Changelog: 1.0.2...1.1.0