Fix, try caching gradle

This commit is contained in:
Mirco 2024-07-09 14:43:53 +02:00
parent f1fcdba612
commit 38edbbfb94

View file

@ -5,8 +5,8 @@ stages:
.img: &img
image: openjdk:22-jdk-slim
before_script:
- echo "___________________START :: before_script_________________________"
- echo "${CI_COMMIT_REF_SLUG}"
- echo "___________________START_before_script________________________"
- echo ${CI_COMMIT_REF_SLUG}
- apt-get update && apt-get -qqy upgrade
cache:
- key: ${CI_COMMIT_REF_SLUG}
@ -14,7 +14,6 @@ stages:
- .gradle/wrapper
- .gradle/caches
test:
<<: *img
stage: test
@ -27,6 +26,6 @@ build:
script:
- ./gradlew clean build -Pvaadin.productionMode
after_script:
echo "_____________end_________________"
- echo "_____________end_________________"