From 1f2540e6722b855069feed3d3b6853c7a752d509 Mon Sep 17 00:00:00 2001 From: 15knots <11367029+15knots@users.noreply.github.com> Date: Mon, 15 Jan 2024 21:00:31 +0100 Subject: [PATCH] build using java 17 --- .github/workflows/maven.yml | 4 ++-- .github/workflows/upload-release.yml | 4 ++-- pom.xml | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1d06de05..65e11adf 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -20,9 +20,9 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: '11' + java-version: '17' distribution: 'adopt' cache: 'maven' - name: Build - run: mvn -P release -B verify + run: mvn -P release -B -ntp verify diff --git a/.github/workflows/upload-release.yml b/.github/workflows/upload-release.yml index 175397ab..c1f16211 100644 --- a/.github/workflows/upload-release.yml +++ b/.github/workflows/upload-release.yml @@ -14,12 +14,12 @@ jobs: - name: Set up JDK uses: actions/setup-java@v2 with: - java-version: '11' + java-version: '17' distribution: 'adopt' settings-path: ${{ github.workspace }} - name: Build - run: mvn -P release -B package + run: mvn -P release -B -ntp package - name: Determine artifact to upload id: TheZIP diff --git a/pom.xml b/pom.xml index 3f8e4aff..45051709 100644 --- a/pom.xml +++ b/pom.xml @@ -49,6 +49,7 @@ + 17 2.7.4 1.0.1 UTF-8