You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/03/04 13:50:32 UTC

[camel-kamelets] branch main updated: Improve GH Action Build Regen by building two times and having everything generated in one shot

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 1fdc58b  Improve GH Action Build Regen by building two times and having everything generated in one shot
1fdc58b is described below

commit 1fdc58bcfc5ba8e7f009e05dc99b8dd0a4e4f5f8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 4 14:49:50 2022 +0100

    Improve GH Action Build Regen by building two times and having everything generated in one shot
---
 .github/workflows/main-push-regen.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/main-push-regen.yaml b/.github/workflows/main-push-regen.yaml
index ac070b8..7ff2866 100644
--- a/.github/workflows/main-push-regen.yaml
+++ b/.github/workflows/main-push-regen.yaml
@@ -47,7 +47,9 @@ jobs:
           path: ~/.m2
           key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
           restore-keys: ${{ runner.os }}-m2
-      - name: Build catalog
+      - name: Build catalog 1st Run
+        run: ./mvnw clean install -DskipTests
+      - name: Build catalog 2nd Run
         run: ./mvnw clean install
       - name: Create Pull Request
         uses: peter-evans/create-pull-request@v3