toolkit icon indicating copy to clipboard operation
toolkit copied to clipboard

actions/cache@v4 is also affected by the brownout

Open ovidb opened this issue 11 months ago • 4 comments

We are using v4.0.2 of action/cache@v4 and we still get the following error.

Download action repository 'actions/cache@v4' (SHA:1bd1e32a3bdc45362d1e726936510720a7c30a57)
Error: This request has been automatically failed because it uses a deprecated version of `actions/cache: v4.0.2`. Please update your workflow to use v3/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

Is this expected or is it a mistake of the brownout?

ovidb avatar Feb 11 '25 16:02 ovidb

we've also been affected by this but if you read the list of deprecated versions closely, all versions except the absolute latest versions are affected https://github.com/actions/cache/discussions/1510 These are the only supported versions:

Supported versions and tags

actions/cache@v4 actions/cache@v3 actions/[email protected] actions/[email protected]

tkloht avatar Feb 11 '25 17:02 tkloht

The latest of cache is 4.0.2, no? https://github.com/actions/toolkit/blob/253e837c4db937cac18949bc65f0ffdd87496033/packages/cache/package.json#L3

zentavr avatar Mar 13 '25 22:03 zentavr

I'm not 100% certain but I think the cache action from this (toolkit) repo is basically obsolete now and you want to use the one from https://github.com/actions/cache. There the latest is 4.2.2

tkloht avatar Mar 13 '25 22:03 tkloht

I'm not 100% certain but I think the cache action from this (toolkit) repo is basically obsolete now and you want to use the one from https://github.com/actions/cache. There the latest is 4.2.2

Yeah, this is what I’d actually done and it was not so obvious with the link GitHub provides in the error.

zentavr avatar Mar 14 '25 06:03 zentavr