Skip to content

setup-java v4

setup-java v4 #65

Workflow file for this run

name: Checks
on: [push, pull_request]
jobs:
build:
name: Java ${{ matrix.java }}
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11, 13, 15, 17, 18, 19]
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build with Maven
run: mvn -B test