diff --git a/.github/workflows/pr-build-main.yml b/.github/workflows/pr-build-main.yml index d0bbb38d358..27cb745799c 100644 --- a/.github/workflows/pr-build-main.yml +++ b/.github/workflows/pr-build-main.yml @@ -42,8 +42,14 @@ jobs: java-version: 17 distribution: 'temurin' cache: 'maven' - - name: Maven Build - run: ./mvnw -l build.log -V --no-transfer-progress -Psourcecheck -Dci.env.name=github.com clean install + - name: Maven Test + uses: apache/camel/.github/actions/incremental-build@main + with: + mode: test + pr-id: ${{ github.event.number }} + github-token: ${{ env.GITHUB_TOKEN_TOKEN }} + skip-mvnd-install: 'false' + github-repo: apache/camel-spring-boot - name: Archive Logs uses: actions/upload-artifact@v4 if: always()