action-docker-layer-caching icon indicating copy to clipboard operation
action-docker-layer-caching copied to clipboard

Use the same key when restore from cache

Open noxasch opened this issue 1 year ago • 1 comments

Hi thanks for maintaining this fork, but I'm curious do you intend to fix this bug or is this a feature ?

Describe the bug Currently this fork share the same bug as the original fork where cache are not shared across action due to different cache key are being use.

Can refer the original comment here https://github.com/satackey/action-docker-layer-caching/issues/169#issuecomment-1217408538

To Reproduce

  1. Run an action.
  2. Run another separate action after it finish.
  3. The cache cannot be restore due to layer- is not appended to the restore key but added during caching process to the key.

noxasch avatar Mar 02 '23 09:03 noxasch