From c639817000a0dc6528f7c42d9108c2fdf28c6034 Mon Sep 17 00:00:00 2001
From: Johannes Mey <johannes.mey@tu-dresden.de>
Date: Sun, 8 Dec 2024 11:30:04 +0100
Subject: [PATCH] use java 21 in tests, remove mention of main branch

---
 .gitlab-ci.yml | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8a37876..79326c3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,7 +12,7 @@ cache:
     - .gradle/caches
 
 build:
-  image: openjdk:8
+  image: eclipse-temurin:21
   stage: build
   script:
     - ./gradlew --console=plain --no-daemon assemble fatJar
@@ -21,7 +21,7 @@ build:
       - "/builds/jastadd/relational-rags/build/libs/relast-*.jar"
 
 test:
-  image: openjdk:8
+  image: eclipse-temurin:21
   stage: test
   script:
     - ./gradlew --console=plain --no-daemon --info test
@@ -36,22 +36,20 @@ pages:
     paths:
     - public
   only:
-    - master
     - main
 
 publish:
-  image: openjdk:8
+  image: eclipse-temurin:21
   stage: deploy
   needs:
     - test
   script:
     - "./gradlew publish"
   only:
-    - master
     - main
 
 publish_dev:
-  image: openjdk:8
+  image: eclipse-temurin:21
   stage: deploy
   needs:
     - test
@@ -59,5 +57,4 @@ publish_dev:
     - "./gradlew setDevVersionForCI"
     - "./gradlew publish"
   except:
-    - master
     - main
-- 
GitLab