diff --git a/.github/workflows/maven.yml b/.github/workflows/ci.yml similarity index 80% rename from .github/workflows/maven.yml rename to .github/workflows/ci.yml index 9c54407..f441918 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ # separate terms of service, privacy policy, and support # documentation. -name: Java CI with Maven +name: CI on: push: @@ -17,12 +17,18 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + jdk: [8, 11, 17] + env: + JDK_VERSION: ${{ matrix.jdk }} steps: - uses: actions/checkout@v3 - - name: Set up JDK 11 + - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: '11' + java-version: ${{ matrix.jdk }} distribution: 'temurin' cache: maven - name: Build with Maven