From 14deaed780e2e236931ed62414be0aa8783242e3 Mon Sep 17 00:00:00 2001 From: funnyboy-roks Date: Mon, 22 Jul 2024 07:44:08 -0500 Subject: [PATCH] Update CI to use java 21 --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6c0e33c..9d23fc7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,10 +15,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: setup JDK 17 + - name: setup JDK 21 uses: actions/setup-java@v2 with: - java-version: '17' + java-version: '21' distribution: 'temurin' cache: maven @@ -41,4 +41,4 @@ jobs: if: ${{ runner.os == 'Linux' && github.event_name == 'push' && github.ref == 'refs/heads/main' && endsWith(steps.project.outputs.version, '-SNAPSHOT')}} run: mvn --batch-mode -DuseGitHubPackages=true deploy env: - GITHUB_TOKEN: ${{ secrets.DEPLOY_GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.DEPLOY_GITHUB_TOKEN }}