Skip to content

chore: Configure Renovate #4026

chore: Configure Renovate

chore: Configure Renovate #4026

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