Skip to content

Commit

Permalink
TASK-4121 Also build JavaDocs on the feature branch
Browse files Browse the repository at this point in the history
A full site build would take too long, but it's useful to quickly verify the JavaDoc generation.
  • Loading branch information
inkarkat committed Jun 21, 2024
1 parent 6d0096e commit d72d621
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
java-version: 21
cache: 'maven'
- name: Build with Maven verify
run: ./mvnw -B verify
run: |
./mvnw --batch-mode verify javadoc:javadoc javadoc:aggregate
build_main_branch:
name: Build main branch
runs-on: ubuntu-latest
Expand All @@ -62,7 +63,7 @@ jobs:
- name: Read revision version from pom.xml
shell: bash
run: |
MAVEN_POM_REVISION_VERSION="$(./mvnw help:evaluate -Dexpression=revision -q -DforceStdout)"
MAVEN_POM_REVISION_VERSION="$(./mvnw --batch-mode help:evaluate -Dexpression=revision -q -DforceStdout)"
echo "MAVEN_POM_REVISION_VERSION=$MAVEN_POM_REVISION_VERSION" >> $GITHUB_ENV
- name: Check if revision is already tagged
shell: bash
Expand Down

0 comments on commit d72d621

Please sign in to comment.