This is an automated email from the ASF dual-hosted git repository.

fmariani pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
     new 422a2f5cfa7 Implement incremental-build gh action
422a2f5cfa7 is described below

commit 422a2f5cfa71698208a35ead4656f3c4ae1f6229
Author: Croway <federico.mariani.1...@gmail.com>
AuthorDate: Mon May 6 13:42:38 2024 +0200

    Implement incremental-build gh action
---
 .github/workflows/pr-build-main.yml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

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()

Reply via email to