github-action icon indicating copy to clipboard operation
github-action copied to clipboard

Confirm the custom cache key works correctly

Open bahmutov opened this issue 3 years ago • 3 comments

Seems after changing the key it still has restored an old cache?

Screen Shot 2021-03-31 at 3 35 06 PM

project https://github.com/cypress-io/cypress-and-jest-typescript-example

bahmutov avatar Mar 31 '21 19:03 bahmutov

Is there also a way to 'refresh' the cache? My cypress job cache is currently storing 3 versions of Cypress (I only use 1) and is therefore taking up time to save/restore for no reason.

tsposato avatar Jan 03 '22 13:01 tsposato

cypress cache prune

mjhenkes avatar Jan 04 '22 22:01 mjhenkes

cypress cache prune

Is it possible to do that via the GitHub action in some way?

tsposato avatar Jan 06 '22 21:01 tsposato

Provided github-action is allowed to install Cypress and manage the cache itself then it will use a new cache if Cypress is updated.

MikeMcC399 avatar Nov 04 '23 10:11 MikeMcC399