jongwooo / next-cache

Cache Next.js for faster application rebuilds
https://jongwooo.github.io/next-cache/
MIT License
11 stars 1 forks source link

fix(action): fix file key hash calculation #17

Closed m1yon closed 1 year ago

m1yon commented 1 year ago

Currently, the portion of the cache key that caches files isn't matching correctly. Here you can see the last part of the key is empty (current setup):

CleanShot 2023-06-29 at 15 46 15

Changing the blob patterns to more explicit seems to match the files correctly (proposed fix):

CleanShot 2023-06-29 at 15 47 47