Skip to content

target java 1.8

target java 1.8 #6

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: build
on: [push, pull_request]
jobs:
compile:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11 ]
jdk: ['temurin', 'zulu']
name: Java ${{ matrix.java }} ${{ matrix.jdk }}
steps:
- name: Checkout Source Code
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: ${{ matrix.jdk }}
java-package: jdk
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build with maven
run: mvn -B test