Merge pull request #408 from siom79/ghaction-summary #242
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: Java CI with Maven | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Java ${{ matrix.java }} | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ 8, 11, 17, 21, 22 ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: ${{ matrix.java }} | |
cache: maven | |
- name: Build with Maven | |
shell: bash | |
run: | | |
mvn -B install | |
cat japicmp/target/japicmp/github-job-summary.md >$GITHUB_STEP_SUMMARY |