cache icon indicating copy to clipboard operation
cache copied to clipboard

Github Deprecation warnings suggest a new minor version tag is required

Open jlperla opened this issue 11 months ago • 7 comments

I am getting the warning:

Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down

In my workflow, which I think is occuring due to this action.

  • I am doing julia-actions/cache@v2 which is the latest released version.
  • It appears that https://github.com/julia-actions/cache/commit/d343189aad1dc9a40be85e22f75c3b81a562a969 might fix this? If so, then maybe tagging a minor point release would address this? Alternatively, does it really need the exact commit, or could you just change https://github.com/julia-actions/cache/blob/main/action.yml#L123 to be @v4.2 or something like that?

Note that the warning says it will stop working at the beginning of february.

jlperla avatar Jan 09 '25 17:01 jlperla