Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.7.0 #207
Workflow file for this run
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 Annotation Literal Generator | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ 11, 17, 21 ] | |
# include: | |
# - java: 17 | |
# runTests: true | |
name: Maven Build JDK ${{ matrix.java }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java }} | |
cache: maven | |
- name: Maven Build JDK ${{ matrix.java }} | |
run: mvn -B package --file pom.xml -DskipTests | |
- name: Maven Test JDK ${{ matrix.java }} (Sonar) | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
run: > | |
mvn -B test --file pom.xml jacoco:report | |
sonar:sonar | |
-Dsonar.host.url=https://sonarcloud.io | |
-Dsonar.organization=guhilling-github | |
-Dsonar.projectKey=de.hilling.lang.annotations:literal-generator | |
if: ${{ matrix.runTests && env.SONAR_TOKEN != '' }} | |
- name: Maven Test JDK ${{ matrix.java }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
run: mvn -B test --file pom.xml | |
if: ${{ matrix.runTests && env.SONAR_TOKEN == '' }} | |