julia-actions / cache

A shortcut action to cache Julia artifacts, packages, and registries.
MIT License
38 stars 8 forks source link

If cache hit in post step, don't delete the cache hit when tidying #86

Open IanButterworth opened 7 months ago

IanButterworth commented 7 months ago

If there's a cache hit during the save step and thus won't be saved, the tidy step will currently go and delete it. We should exclude that from the deletion.

IanButterworth commented 7 months ago

The workaround is to set delete-old-caches: false in such steps