cache icon indicating copy to clipboard operation
cache copied to clipboard

Dereference symlinks when creating tar balls

Open maxpohlmann opened this issue 1 year ago • 0 comments

Hello!

Say we have a folder a which contains symlinks to files in folder b, and we want to cache folder a, but not folder b, except that the symbolically linked files (and not the symlinks as such) should be cached as well.

Now, tar, which I see is used by the cache action, offers the flag --dereference/-h, which does exactly what we want. Could you please consider adding an option/input to the cache action that sets this flag when running tar to build the cache?

maxpohlmann avatar Jul 19 '24 15:07 maxpohlmann