Add generate-javadoc job
This commit is contained in:
parent
7bc23e43f5
commit
535a290e6f
1 changed files with 23 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue