Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.1 to 3.1… #235
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: Build | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- '**' | |
paths-ignore: | |
- '.gitignore' | |
- 'LICENSE' | |
- 'README*' | |
- '*.png' | |
pull_request: | |
paths-ignore: | |
- '.gitignore' | |
- 'LICENSE' | |
- 'README*' | |
- '*.png' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
java: [ 17, 21 ] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
name: "Build with JDK ${{matrix.java}} on ${{ matrix.os }}" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK ${{matrix.java}} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: ${{matrix.java}} | |
- name: Setup Maven Cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: m2-repository-${{ hashFiles('**/pom.xml') }} | |
- name: Maven Build | |
run: mvn -B verify | |
## Save the context information for use in Sonar analysis | |
- name: Save Build Context | |
if: ${{ matrix.java == '17' && matrix.os == 'ubuntu-latest' }} | |
run: echo "$GITHUB_CONTEXT" > target/build-context.json | |
env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
## Attach the target directory for use in Sonar analysis | |
- name: Attach Build Output | |
if: ${{ matrix.java == '17' && matrix.os == 'ubuntu-latest' }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: target | |
path: | | |
target/ | |
!target/test-classes/io/xlate/inject/Unreadable.properties | |
javadoc: | |
runs-on: ubuntu-latest | |
name: Verify JavaDocs | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Setup Maven Cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: m2-repository-${{ hashFiles('**/pom.xml') }} | |
- name: Generate JavaDocs | |
run: mvn -B package javadoc:javadoc -DskipTests |