Skip to content

Merge pull request #5093 from line-o/backport/5028 #3114

Merge pull request #5093 from line-o/backport/5028

Merge pull request #5093 from line-o/backport/5028 #3114

Workflow file for this run

name: Javadoc
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
name: ${{ matrix.jdk }} Javadocs
strategy:
matrix:
jdk: ['8','11', '16']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: ${{ matrix.jdk }}
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Maven Javadoc
run: mvn -V -B -q -T 2C javadoc:javadoc
continue-on-error: ${{ matrix.jdk != '8' }}