Skip to content

Releases: coursier/cache-action

v6.2.0

06 Jul 09:11
1de0d9d
Compare
Choose a tag to compare

Changes

  • Ignore unhandled exceptions in save step (should discard spurious EBADF errors seen in save / post-action step)

Updates

  • Bump @actions/core from 1.2.6 to 1.4.0

v6.1.0

20 May 23:12
76f0b1d
Compare
Choose a tag to compare

Changes

  • Ignore errors upon saving cache

v6.0.0

09 Mar 12:04
730a6a4
Compare
Choose a tag to compare

Changes

  • Take into account job name and matrices by default. (Previously, one has to pass those manually via extraKey: …)
  • Better cache key pattern, like ${cacheType}-${jobName}[-${matrix}]-${hash}, favoring re-use of more relevant previous caches
  • Better output overall: the action now prints the cache keys it looks into, whether a cache hit occurred on the main key, whether the cache should be persisted in post run job, the used to persist the cache in the post run job, etc.

v6.3.1

28 Apr 12:18
0cdf229
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.3...v6.3.1

v5

30 Sep 12:03
b74a57c
Compare
Choose a tag to compare

Changes

  • Add new settings extraKey, and equivalent sbt / mill / Ammonite-specific keys (extraSbtKey, extraMillKey, extraAmmoniteKey), allowing to add a custom part to the coursier / sbt / mill / Ammonite cache keys

  • Add new settings extraHashContent, and equivalent sbt / mill / Ammonite-specific keys (extraSbtHashedContent, extraMillHashedContent, extraAmmoniteHashedContent), allowing to hash some extra content, when computing a hash for the coursier / sbt / mill / Ammonite cache keys

v4.1

25 Sep 11:22
e4959e4
Compare
Choose a tag to compare

Fixes

  • Fix ~/.sbt / ~/.ivy2/cache not being saved / restored correctly (#33, thanks to @gvolpe)

v4

18 Aug 23:20
5beefa2
Compare
Choose a tag to compare

Changes

  • Cache ~/.ivy2/cache along ~/.sbt

v3

17 Aug 14:51
Compare
Choose a tag to compare

Changes

  • Cache ~/.sbt, ~/.mill, and ~/.ammonite too. Caching these directories is triggered when sbt or mill files, or Ammonite scripts are found.

Fixes

  • Fix spurious cache hit warning upon save

v2

14 Aug 18:47
Compare
Choose a tag to compare

(No changes in the source compared to v1, only regenerating the *.js files, which were possibly stale in v1 for the restore cache part.)

v1

14 Aug 16:17
Compare
Choose a tag to compare

Initial release