Merge pull request #105 from basil/maven-compat #158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
java: ["11", "17"] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Maven Action | |
uses: s4u/[email protected] | |
with: | |
java-version: "${{ matrix.java }}" | |
- name: Build with Maven | |
run: mvn -B -V -ntp -Dstyle.color=always package javadoc:javadoc | |
env: | |
MAVEN_OPTS: -Djansi.force=true |