Skip to content

Releases: bitrise-steplib/bitrise-step-save-cache

1.4.0

05 Jul 10:06
5b82651
Compare
Choose a tag to compare

What's Changed

  • New step input: custom_tar_args. Set this to pass sdditional arguments to the tar command when creating the cache archive.
  • update module github.com/hashicorp/go-retryablehttp to v0.7.7

Full Changelog: 1.3.1...1.4.0

1.3.1

27 May 12:44
6637802
Compare
Choose a tag to compare

What's Changed

Dependencies updated.

1.3.0

24 May 14:29
cbb767a
Compare
Choose a tag to compare

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

Full Changelog: 1.2.0...1.3.0

1.2.0

05 Feb 08:50
9b3bd9e
Compare
Choose a tag to compare

What's Changed

  • feat: GCI-18 - Bumped go-steputils to v2.0.0-alpha.25 by @bvatai-br in #29

New Contributors

Full Changelog: 1.1.2...1.2.0

1.1.2

13 Apr 14:06
4d712ba
Compare
Choose a tag to compare

What's Changed

  • Fix Content-Length header in cache upload request by @ofalvai in #26

Full Changelog: 1.1.1...1.1.2

1.1.1

10 Feb 08:48
f122ec1
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.1.0...1.1.1

1.1.0: Skip saving unchanged cache

18 Oct 13:56
900dd18
Compare
Choose a tag to compare

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 to true

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

1.0.2

23 Sep 13:45
01e8f19
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.0.1...1.0.2

1.0.1

22 Sep 10:11
c1649b0
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.0.0...1.0.1

1.0.0

14 Sep 14:48
7f51168
Compare
Choose a tag to compare

Initial step release 🎉

To learn more, check out the README.