Skip to content

Commit

Permalink
[semver:patch] Only cache ~/.m2/repository (#12)
Browse files Browse the repository at this point in the history
See #11
  • Loading branch information
Gabriel Simmer committed Oct 6, 2020
1 parent a3ca413 commit 0012e2d
Showing 1 changed file with 2 additions and 2 deletions.
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" }}

0 comments on commit 0012e2d

Please sign in to comment.