Skip to content

Commit f9c24f5

Browse files
authored
Fix javadoc issue by swapping task order (#376)
Also quiet the build a little
1 parent b3dd5e1 commit f9c24f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: build with maven
4949
run: |
5050
mvn -q -N "io.takari:maven:${{env.IO_TAKARI_MAVEN_WRAPPER_VERSION}}:wrapper" "-Dmaven=${{env.MAVEN_VERSION}}"
51-
./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}}"
51+
./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}}"
5252
5353
quality:
5454
needs: [ build ]
@@ -66,15 +66,15 @@ jobs:
6666
cache: 'maven'
6767
cache-dependency-path: '**/pom.xml'
6868

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

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

0 commit comments

Comments
 (0)