Yeah, come to think of it a delete task should never be cacheable. Typically a delete task is used to clean rather than build.
Is this delete task part of your build? Or just part of your clean?
If you’re deleting as part of your build, perhaps you could change the logic so that it’s not required. I’d need to understand your build better. Perhaps you could instead copy zips from torBinariesDir
to another location and use that instead. Or if you previously unzipped to torBinariesDir
you could limit your unzipping to *.zip
In a perfect world you could run your build twice in a row and the second run would do nothing since everything’s cached. With a Delete task in your build this will never be true