Skip to content

Releases: actions/cache

v2.1.3

06 Nov 14:56
0781355

Choose a tag to compare

  • Upgrades @actions/core to v1.2.6 for CVE-2020-15228. This action was not using the affected methods.
  • Fix error handling in uploadChunk where 400-level errors were not being detected and handled correctly

v2.1.2

09 Oct 18:39
d1255ad

Choose a tag to compare

  • Adds input to limit the chunk upload size, useful for self-hosted runners with slower upload speeds
  • No-op when executing on GHES

v2.1.1

19 Aug 15:14
5ca27f2

Choose a tag to compare

  • Update @actions/cache package to v1.0.2 which allows cache action to use posix format when taring files.

v2.1.0

21 Jul 16:55
d29c1df

Choose a tag to compare

  • Replaces the http-client with the Azure Storage SDK for NodeJS when downloading cache content from Azure. This should help improve download performance and reliability as the SDK downloads files in 4 MB chunks, which can be parallelized and retried independently
  • Display download progress and speed

v2.0.0

26 May 20:27
b820478

Choose a tag to compare

Initial v2 release

What's new in v2

  • Added support for multiple paths (#16), glob patterns, and single file caches (#33)
  • Increased performance and improved cache sizes using zstd for compression for Linux and macOS runners (#184)
  • Allowed caching for all events with a ref (#63)
  • Created the @actions/cache npm package to allow other actions to utilize caching (#55)
  • Added a best-effort step to delete the archive after extraction to reduces storage space (#209)

v1.2.0

14 May 16:07
d974700

Choose a tag to compare

Bug Fixes

  • Fall back to GNU tar on older versions of Windows that do not have BSD tar installed (#252)
  • Fixed chunk upload retry logic (#305)

Improvements

  • Improved reliability of the download cache APIs (#269)
  • Added retries to API calls that failed due to retryable errors (#306)
  • Improved error handling during both cache upload (#300) and download (#284)

v1.1.2

05 Feb 16:35

Choose a tag to compare

Other

Updating action name back to "Cache" to fix the marketplace links (https://github.com/marketplace/actions/cache)

v1.1.1

05 Feb 15:18

Choose a tag to compare

Improvements

  • Increase cache size limit to 5 GB (#168)
  • Add proxy support (#166)

v1.1.0

06 Jan 19:20

Choose a tag to compare

Bug Fixes

  • Use BSD tar on windows (#126) to support self-hosted runners (#91)

Improvements

  • Improved reliability and speed of cache upload via chunked APIs (#128)
  • Increased per-cache size limit to 2 GB to match the per-repo limit (#6)

v1.0.3

21 Nov 20:01

Choose a tag to compare

Improvements

  • Remove validation failures and warning annotations (#108)
  • Mask download URL in logs (#110)