Skip to content

Set Java version for source and target compatibility to 17 #35

Set Java version for source and target compatibility to 17

Set Java version for source and target compatibility to 17 #35

Workflow file for this run

name: CI build
on: [push]
jobs:
builds:
name: '${{ matrix.os }} with Java ${{ matrix.jdk }}'
runs-on: ${{ matrix.os }}
strategy:
matrix:
jdk: [17, 21]
os: [windows-latest, ubuntu-latest]
fail-fast: false
max-parallel: 4
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java ${{ matrix.jdk }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.jdk }}
- name: Compile
run: |
./gradlew clean jar