Skip to content

Avoid unnecessary cache updates #636

@michaelmior

Description

@michaelmior

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions