Open
Description
Caching using actions/cache v1.x limits cacheable events to push
and pull_request
as described here:
https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache
Using actions/cache v2.x will allow cacheable workflows on any event that has a GITHUB_REF.
At the moment, I can't have a cacheable workflow started by a release
event. Making this change would facilitate this workflow.