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

Avoid unnecessary cache updates #636

Open
michaelmior opened this issue Jul 18, 2024 · 0 comments
Open

Avoid unnecessary cache updates #636

michaelmior opened this issue Jul 18, 2024 · 0 comments

Comments

@michaelmior
Copy link

Currently in my workflows, I have the line below to remove various files which are not actually helpful to cache. It would be great if this could be integrated into the action directly to avoid unnecessary cache updates.

    rm -rf "$HOME/.ivy2/local" || true
    find $HOME/Library/Caches/Coursier/v1        -name "ivydata-*.properties" -delete || true
    find $HOME/.ivy2/cache                       -name "ivydata-*.properties" -delete || true
    find $HOME/.cache/coursier/v1                -name "ivydata-*.properties" -delete || true
    find $HOME/.sbt                              -name "*.lock"               -delete || true
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