diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 978285a..a13ba2f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,17 +12,21 @@ on: jobs: build: name: Build + strategy: + matrix: + java-version: [ 8, 11, 17, 21, 23 ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up JDK 8 + - name: Set up JDK ${{ matrix.java-version }} uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 8 + java-version: ${{ matrix.java-version }} cache: 'gradle' - name: Build run: ./gradlew build - uses: codecov/codecov-action@v5 + if: matrix.java-version == 8 with: verbose: true