Add generate-javadoc job
Some checks failed
build-and-test / test (push) Successful in 1m46s
build-and-test / build (push) Successful in 1m55s
build-and-test / generate-javadoc (push) Failing after 2m1s

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: | path: |
**/build/libs/*-sources.jar **/build/libs/*-sources.jar
if-no-files-found: error 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: test:
runs-on: docker runs-on: docker
container: container: