Skip to content

Commit

Permalink
Fix javadoc issue by swapping task order (#376)
Browse files Browse the repository at this point in the history
Also quiet the build a little
  • Loading branch information
dmlloyd authored Nov 20, 2024
1 parent b3dd5e1 commit f9c24f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: build with maven
run: |
mvn -q -N "io.takari:maven:${{env.IO_TAKARI_MAVEN_WRAPPER_VERSION}}:wrapper" "-Dmaven=${{env.MAVEN_VERSION}}"
./mvnw -B -ntp formatter:validate verify --file pom.xml "-Dexpected-cpu=x64,aarch64" "-Djava17.home=${{env.JAVA_HOME_17_X64}}${{env.JAVA_HOME_17_ARM64}}"
./mvnw -B -ntp formatter:validate verify javadoc:javadoc --file pom.xml "-Dexpected-cpu=x64,aarch64" "-Djava17.home=${{env.JAVA_HOME_17_X64}}${{env.JAVA_HOME_17_ARM64}}"
quality:
needs: [ build ]
Expand All @@ -66,15 +66,15 @@ jobs:
cache: 'maven'
cache-dependency-path: '**/pom.xml'

- name: build with docs and coverage
- name: build with coverage
run: |
mvn -q -N "io.takari:maven:${{env.IO_TAKARI_MAVEN_WRAPPER_VERSION}}:wrapper" "-Dmaven=${{env.MAVEN_VERSION}}"
./mvnw javadoc:javadoc verify -Pcoverage
./mvnw -B -ntp verify -Pcoverage
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17

- name: sonar
run: ./mvnw sonar:sonar -Dsonar.projectKey=smallrye_smallrye-common -Dsonar.token=${{secrets.SONAR_TOKEN}}
run: ./mvnw -B -ntp sonar:sonar -Dsonar.projectKey=smallrye_smallrye-common -Dsonar.token=${{secrets.SONAR_TOKEN}}

0 comments on commit f9c24f5

Please sign in to comment.