Closed strophy closed 2 months ago
It is failing on this line: https://github.com/reproducible-containers/buildkit-cache-dance/blob/0fc239dcc207d7ce9fd659f4f92fefb84549c182/src/inject-cache.ts#L33
Do you know why the permission is denied? Do you have any special permissions set up? Technically, we can ignore the errors of this line failing because it's just a clean-up and not critical.
I'm trying to update to v3 of this action (thanks again @aminya) on a small repo handling Go builds. The cache is successfully created on the first run, but fails on restore during the second run with the following error:
Maybe we need to sync/flush the filesystem first before delete is possible? Why is it necessary to do this cleanup step, maybe we could just continue without deleting the source dir?