diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5db829429..aa90821b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,7 +32,8 @@ gradleSetup: # build using Java 17 image: eclipse-temurin:17 cache: - key: + key: "$CI_COMMIT_REF_NAME" + policy: pull-push files: - gradle/wrapper/gradle-wrapper.properties paths: @@ -48,7 +49,7 @@ build: image: eclipse-temurin:17 cache: key: "$CI_COMMIT_REF_NAME" - policy: push + policy: pull-push paths: - .architectury-transformer - .gradle