try caching gradle

This commit is contained in:
Mirco 2024-07-09 14:38:56 +02:00
parent 8f2bc53a3e
commit f1fcdba612

View file

@ -5,7 +5,15 @@ stages:
.img: &img
image: openjdk:22-jdk-slim
before_script:
- echo "___________________START :: before_script_________________________"
- echo "${CI_COMMIT_REF_SLUG}"
- apt-get update && apt-get -qqy upgrade
cache:
- key: ${CI_COMMIT_REF_SLUG}
- paths:
- .gradle/wrapper
- .gradle/caches
test:
<<: *img