diff --git a/.github/workflows/future.yml b/.github/workflows/future.yml deleted file mode 100644 index 0aaf939f..00000000 --- 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 fa96754e..cc8b7823 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 567572b7..0727451e 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 19343ad1..58debc4a 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