Skip to content

Update CI workflow

Update CI workflow #28

Workflow file for this run

name: CI
on:
push:
pull_request:
branches: [ "master" ]
workflow_dispatch: # allows manual triggering
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false # ensures build runs for all JDKs
matrix:
java: [ '8', '11', '17', '21' ]
name: Java ${{ matrix.Java }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: "8.5"
- name: Build with Gradle
run: ./gradlew clean build