From fe769f0b539ec13e843e020c5bfdbb5c3677963b Mon Sep 17 00:00:00 2001 From: mmm8955405 Date: Sat, 30 Mar 2024 20:52:39 +0800 Subject: [PATCH] xg --- .gitea/workflows/build.yml | 6 +++--- Dockerfile | 2 +- pom.xml | 23 ++++++++++++++++------- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index fb104dd..cc64eea 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -18,7 +18,7 @@ jobs: #token: '' - name: Set Java Action id: steps1 - uses: https://github.com/actions/setup-java@v3 + uses: https://github.com/actions/setup-java@v4 with: distribution: temurin java-version: 20 @@ -26,12 +26,12 @@ jobs: #cache-dependency-path: .pom.xml - name: Set Maven Action - uses: https://github.com/stCarolas/setup-maven@v4.5 + uses: https://github.com/stCarolas/setup-maven@v5 with: maven-version: 3.9.5 - name: Cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: cache1 with: path: ~/.m2/repository diff --git a/Dockerfile b/Dockerfile index 1a075db..fd866cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ #mvn package -Dmaven.test.skip #RUN mkdir -p target/dependency && (cd target/dependency; jar -xf ../*.jar) # -FROM docker.io/eclipse-temurin:20-jre-alpine +FROM docker.io/eclipse-temurin:21-jre-alpine WORKDIR /app COPY target/dependency/BOOT-INF/lib /app/lib COPY target/dependency/META-INF /app/META-INF diff --git a/pom.xml b/pom.xml index d7e2866..1833ef6 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ 3.2.0 - 20 + 21 UTF-8