From 06133f63a6c9cc98804d73efaa686e19ecf36363 Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Tue, 8 Aug 2023 17:25:59 +0200 Subject: [PATCH] Bump toolchains to JDK 20 --- .github/workflows/ci.yml | 2 +- .github/workflows/maven.yml | 2 +- Dockerfile | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f39c145..58a9865 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: push: env: - JAVA_VERSION: 19 + JAVA_VERSION: 20 permissions: contents: write diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 69a265d..8b77784 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: 19 + java-version: 20 - name: Build plugin uses: gradle/gradle-build-action@v2 env: diff --git a/Dockerfile b/Dockerfile index b48e2b2..73e343a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM gradle:jdk19 as builder +FROM gradle:jdk20 as builder WORKDIR /usr/app COPY . . RUN ./gradlew --no-daemon installBotArchive -FROM eclipse-temurin:19-jre-alpine +FROM eclipse-temurin:20-jre-alpine WORKDIR /usr/app COPY --from=builder /usr/app/bot/build/installBot .