From dfc445d9aeeaf798994a7e3b3d0d9cc21fd63124 Mon Sep 17 00:00:00 2001 From: Antony Stubbs Date: Tue, 30 Mar 2021 14:41:59 +1300 Subject: [PATCH] WIP-START: AK version matrix build --- .github/workflows/maven.yml | 7 ++++++- pom.xml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 080b404c4..5901913c1 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -12,6 +12,11 @@ on: jobs: build: + strategy: + fail-fast: false + matrix: + # why not? because we can. + ak: [2.0.1, 2.1.1, 2.2.2, 2.3.1, 2.4.1, 2.5.1, 2.6.1, 2.7.0] runs-on: ubuntu-latest @@ -72,7 +77,7 @@ jobs: restore-keys: ${{ runner.os }}-m2 - name: Test with Maven on Java 8 - run: mvn -B package -P jvm8-release -Djvm8.location=/opt/hostedtoolcache/jdk/8.0.282/x64 + run: mvn -B package -P jvm8-release -Djvm8.location=/opt/hostedtoolcache/jdk/8.0.282/x64 -Dkafka.version=${{ matrix.ak }} # - name: Test with Maven on Java 9 # run: mvn -B package -P jvm9-release -Djvm9.location=/opt/hostedtoolcache/jdk/9.0.7/x64 # - name: Test with Maven on Java diff --git a/pom.xml b/pom.xml index 5fe3fb9f7..4d7f24bf6 100644 --- a/pom.xml +++ b/pom.xml @@ -97,7 +97,7 @@ 1.7.30 - 2.5.0 + 2.5.1 0.1.3