Skip to content

Merge pull request #42 from nstdio/matrix-build #161

Merge pull request #42 from nstdio/matrix-build

Merge pull request #42 from nstdio/matrix-build #161

Workflow file for this run

name: Build
permissions:
checks: write
pull-requests: write
on:
push:
branches:
- master
- 3.x
pull_request:
types: [ opened, synchronize, reopened ]
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 ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
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