Add generate-javadoc job

This commit is contained in:
JeremyStar™ 2024-08-18 17:47:55 +02:00
parent 7bc23e43f5
commit 535a290e6f
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -37,6 +37,29 @@ jobs:
path: |
**/build/libs/*-sources.jar
if-no-files-found: error
generate-javadoc:
runs-on: docker
container:
image: git.staropensource.de/staropensource/actions-docker:java
steps:
- name: Checkout
uses: https://code.forgejo.org/actions/checkout@v4
- name: Compile
run: ./gradlew --no-daemon javadoc javadocAll
- name: Upload separate javadoc
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
with:
name: javadoc-separate
path: |
**/build/docs/javadoc/*
if-no-files-found: error
- name: Upload combined javadoc
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
with:
name: javadoc-combined
path: |
/build/docs/javadoc/*
if-no-files-found: error
test:
runs-on: docker
container: