Skip to content

CI

CI #23

Workflow file for this run

name: CI
on:
push:
branches: [ "master" ]
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 three JDKs
matrix:
java: [ '8', '11', '17' ]
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