Hithomelabs/CFTunnels#115: Add javadoc verification to CI workflow

This commit is contained in:
Dave the Dev 2026-04-15 18:21:02 +00:00
parent 949aacfa60
commit bce18083de

View File

@ -3,6 +3,8 @@ run-name: Build started by $ {{gitea.actor}}
on:
pull_request:
branches: [test]
push:
branches: [main, test]
jobs:
build:
runs-on: ubuntu-latest
@ -17,4 +19,16 @@ jobs:
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Gradle build
run: ./gradlew build --info
run: ./gradlew build --info
- name: Generate Javadoc
run: ./gradlew javadoc
continue-on-error: true
- name: Verify Javadoc generation
run: |
if [ -d "build/docs/javadoc" ]; then
echo "Javadoc generated successfully"
ls -la build/docs/javadoc/
else
echo "Warning: Javadoc directory not found"
exit 1
fi