File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ jobs:
353
353
# This is potentially costly but we can't use the workspace as it would conflict with
354
354
# compilation results from build-sbt
355
355
- save_cache :
356
- key : v1-maven-build-with-version-{{ .Branch }}-{{ .BuildNum }}
356
+ key : v1-maven-build-with-version-{{ .Branch }}-{{ .Revision }}
357
357
paths :
358
358
- .
359
359
@@ -366,7 +366,7 @@ jobs:
366
366
# This cache contains the whole project after version was set and mvn package was called
367
367
# Restoring first (and instead of checkout) as mvn versions:set mutates real source code...
368
368
- restore_cache :
369
- key : v1-maven-build-with-version-{{ .Branch }}-{{ .BuildNum }}
369
+ key : v1-maven-build-with-version-{{ .Branch }}-{{ .Revision }}
370
370
- restore_cache :
371
371
key : maven-dependency-cache-{{ checksum "pom.xml" }}
372
372
- restore_cache :
You can’t perform that action at this time.
0 commit comments