Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add action option to skip cache prune #122

Open
polothy opened this issue Oct 16, 2024 · 0 comments
Open

Add action option to skip cache prune #122

polothy opened this issue Oct 16, 2024 · 0 comments

Comments

@polothy
Copy link

polothy commented Oct 16, 2024

Hello, wondering if it was possible to have the option to skip pruning the cache prior to saving it.

The prune completely removes all downloads and I saw in here that this is normally wanted behavior because re-downloading is often faster than downloading the cache. But in my particular use case, I'm using a private registry with large packages and we pay egress fees to download. So, GitHub cache is actually cheaper.

If this isn't a feature you want to have in this action, that is totally okay, I'll just continue to use actions/cache@v4.

Cheers and thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant