From b378011f7c768fe08b758c51b2735eafc5eb49af Mon Sep 17 00:00:00 2001 From: Bartosz Spyrko-Smietanko Date: Mon, 11 Nov 2024 10:22:13 +0000 Subject: [PATCH] [#792] Require JDK17 --- .github/workflows/future.yml | 43 ---------------------------------- .github/workflows/main.yml | 4 ++-- .github/workflows/release.yaml | 2 +- pom.xml | 8 +++---- 4 files changed, 7 insertions(+), 50 deletions(-) delete mode 100644 .github/workflows/future.yml diff --git a/.github/workflows/future.yml b/.github/workflows/future.yml deleted file mode 100644 index 0aaf939f0..000000000 --- a/.github/workflows/future.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Build - -on: - pull_request: - branches: - - 'future' - paths-ignore: - - '.gitignore' - - 'examples' - - 'README.md' - -jobs: - build: - name: ${{ matrix.os }}-${{ matrix.jdk }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ ubuntu-latest, windows-latest ] - jdk: [ 11, 17, 21 ] - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - uses: actions/cache@v1 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- - - name: Set up JDK ${{ matrix.jdk }} - uses: actions/setup-java@v2 - with: - java-version: ${{ matrix.jdk }} - distribution: 'adopt' - cache: maven - - name: Build and test - run: mvn clean install -DallTests -Pdist - - uses: actions/upload-artifact@v2 - if: failure() - with: - name: surefire-reports - path: '**/surefire-reports/*.txt' diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fa96754e9..cc8b78235 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest, windows-latest ] - jdk: [ 11, 17, 21 ] + jdk: [ 17, 21 ] steps: - uses: actions/checkout@v2 with: @@ -52,7 +52,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v2 with: - java-version: 11 + java-version: 17 distribution: 'adopt' cache: maven - name: Build and test diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 567572b72..0727451e3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 17 - name: maven release ${{steps.metadata.outputs.current-version}} run: | java -version diff --git a/pom.xml b/pom.xml index 19343ad1b..58debc4aa 100644 --- a/pom.xml +++ b/pom.xml @@ -518,10 +518,10 @@ org.apache.maven.plugins maven-compiler-plugin - 11 - 11 - 11 - 11 + 17 + 17 + 17 + 17