Skip to content

Commit

Permalink
Bump toolchains to JDK 20
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Aug 8, 2023
1 parent 3393eeb commit 06133f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:

env:
JAVA_VERSION: 19
JAVA_VERSION: 20

permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 .
Expand Down

0 comments on commit 06133f6

Please sign in to comment.