Skip to content

chore(deps): update dependency org.asciidoctor:asciidoctor-maven-plugin to v3.1.1 #4574

chore(deps): update dependency org.asciidoctor:asciidoctor-maven-plugin to v3.1.1

chore(deps): update dependency org.asciidoctor:asciidoctor-maven-plugin to v3.1.1 #4574

name: Javadoc and Swaggerdoc generator
on:
repository_dispatch:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
javaDocGenerator:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 23
uses: actions/setup-java@v4
with:
java-version: "23"
distribution: "oracle"
- name: Clean install
run: ./mvnw --no-transfer-progress clean install -DskipTests -Ddependency-check.skip -Dcyclonedx.skip=true -Dexec.skip
- name: Compile javadoc
run: ./mvnw --no-transfer-progress compile javadoc:javadoc
- name: Start wrongsecrets
run: nohup ./mvnw --no-transfer-progress spring-boot:run -Dspring-boot.run.profiles=without-vault &
- name: Compile javadocs
run: ./mvnw --no-transfer-progress compile javadoc:javadoc
- name: Generate swaggerdoc
run: ./mvnw --no-transfer-progress springdoc-openapi:generate
- name: Upload swagger api doc
uses: actions/upload-artifact@v4
with:
name: apidocs
path: target/openapi.json
- name: Upload javadoc
uses: actions/upload-artifact@v4
with:
name: javadoc
path: target/site