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

[semver:patch] Only cache ~/.m2/repository #12

Merged
merged 1 commit into from
Oct 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/commands/with_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: |
saved by a previous build. The provided `steps` parameter will then be executed, and
if successful, then a fresh cache will be saved, if required.

The contents of the `~/.m2` directory is cached, which will substantially
The contents of the `~/.m2/repository` directory is cached, which will substantially
improve build times for projects with many dependencies.

The cache-key is generated from any files named `pom.xml` that are
Expand Down Expand Up @@ -44,5 +44,5 @@ steps:
- steps: << parameters.steps >>
- save_cache:
paths:
- ~/.m2
- ~/.m2/repository
key: maven-{{ checksum "/tmp/maven_cache_seed" }}