diff --git a/.github/workflows/verify_build.yml b/.github/workflows/verify_build.yml index f79a05af63..fc929cc860 100644 --- a/.github/workflows/verify_build.yml +++ b/.github/workflows/verify_build.yml @@ -53,6 +53,7 @@ jobs: test_java_21: name: Assert tests with Java 21 on Ubuntu runs-on: ubuntu-latest + needs: test_java_11 steps: - uses: actions/checkout@v4 - name: Set up JDK 21 @@ -61,8 +62,6 @@ jobs: distribution: 'temurin' java-version: '21' cache: 'maven' - - name: Generate javadoc - run: mvn javadoc:javadoc - name: Run tests run: mvn -B test --file pomJava21.xml -ntp @@ -77,8 +76,6 @@ jobs: distribution: 'temurin' java-version: '11' cache: 'maven' - - name: Generate javadoc - run: mvn javadoc:javadoc - name: Run tests run: mvn -B test --file pom.xml -ntp @@ -100,6 +97,7 @@ jobs: test_java_21_windows: name: Assert tests with Java 21 on Windows runs-on: windows-latest + needs: test_java_11_windows steps: - uses: actions/checkout@v4 - name: Set up JDK 21 @@ -108,7 +106,5 @@ jobs: distribution: 'temurin' java-version: '21' cache: 'maven' - - name: Generate javadoc - run: mvn javadoc:javadoc - name: Run tests run: mvn -B test --file pomJava21.xml -ntp