From 784487e3a0d2374215a2716a6631611181744eb6 Mon Sep 17 00:00:00 2001 From: hirst Date: Fri, 31 May 2024 09:33:14 +0200 Subject: [PATCH] downgraded to java 21 --- .github/workflows/build_deploy_dev.yml | 9 ++++----- pom.xml | 8 ++++---- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_deploy_dev.yml b/.github/workflows/build_deploy_dev.yml index 1a924fa..04fbc43 100644 --- a/.github/workflows/build_deploy_dev.yml +++ b/.github/workflows/build_deploy_dev.yml @@ -39,6 +39,9 @@ jobs: with: maven-version: 3.9.6 + - name: Build with Maven + run: mvn -Dtoken=${{ secrets.token }} clean compile jib:build -e + - name: Cache local Maven repository uses: https://github.com/actions/cache/save@v4 id: maven-cache-save @@ -46,8 +49,4 @@ jobs: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | - ${{ runner.os }}-maven - - - name: Build with Maven - run: mvn -Dtoken=${{ secrets.token }} clean package jib:build - + ${{ runner.os }}-maven \ No newline at end of file diff --git a/pom.xml b/pom.xml index a083ab6..fb8e346 100644 --- a/pom.xml +++ b/pom.xml @@ -20,9 +20,9 @@ dummy - 22 - 22 - 22 + 21 + 21 + 21 2023.0.1 @@ -73,7 +73,7 @@ 3.4.2 - eclipse-temurin:22-jre + eclipse-temurin:21-jre