Updated gitlab ci to fix issue with jobs:compile:cache:paths that should be an array

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2020-11-07 12:11:47 +01:00
parent 3b7fff8a17
commit 672891c1d4

View File

@ -39,7 +39,8 @@ compile: &compile
cache: cache:
key: "$CI_COMMIT_REF_NAME" key: "$CI_COMMIT_REF_NAME"
policy: push policy: push
paths: .m2/repository paths:
- .m2/repository
# Run tests # Run tests
test: &test test: &test
@ -50,7 +51,8 @@ test: &test
cache: cache:
key: "$CI_COMMIT_REF_NAME" key: "$CI_COMMIT_REF_NAME"
policy: pull policy: pull
paths: .m2/repository paths:
- .m2/repository
package: package:
image: maven:3.6.3-jdk-14 image: maven:3.6.3-jdk-14