Web Testing #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate and Validate Javadocs | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Set Up Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' # Adjust the Java version as needed | |
- name: Build with Maven | |
run: mvn clean install | |
- name: Generate Javadocs | |
run: mvn javadoc:javadoc | |
- name: Validate Javadocs | |
run: | | |
# Add your validation scripts here | |
echo "Validating Javadocs..." |