From 71e24232720fc22b00809d4526f198f335d450d7 Mon Sep 17 00:00:00 2001 From: Matthew Horridge Date: Wed, 15 May 2024 19:37:13 -0700 Subject: [PATCH] Use Java 21 in GitHub workflows --- .github/workflows/ci.yaml | 4 ++-- .github/workflows/pub-docker-hub.yaml | 2 +- .github/workflows/pub.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f023adc..c8f4283 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,10 +8,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: - java-version: '17' + java-version: '21' distribution: 'temurin' - name: Build with Maven run: mvn --batch-mode --update-snapshots package \ No newline at end of file diff --git a/.github/workflows/pub-docker-hub.yaml b/.github/workflows/pub-docker-hub.yaml index 22e6071..09e357f 100644 --- a/.github/workflows/pub-docker-hub.yaml +++ b/.github/workflows/pub-docker-hub.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up Maven Central Repository uses: actions/setup-java@v3 with: - java-version: '17' + java-version: '21' distribution: 'adopt' server-id: docker.io server-username: DOCKER_USERNAME diff --git a/.github/workflows/pub.yaml b/.github/workflows/pub.yaml index 6bff372..8891eaa 100644 --- a/.github/workflows/pub.yaml +++ b/.github/workflows/pub.yaml @@ -11,7 +11,7 @@ jobs: - name: Set up Maven Central Repository uses: actions/setup-java@v3 with: - java-version: '17' + java-version: '21' distribution: 'adopt' server-id: ossrh server-username: OSSRH_USERNAME