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

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

commit 03b3e4d706d3af90d6f912f6c9b64e4edd0bedf3
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Thu Jan 12 10:15:44 2023 +0100

    (chores) ci: adjust the PR GH actions for Camel 3 and Camel 4
---
 .github/workflows/component-pr.yaml                      | 4 ++--
 .github/workflows/{pr-build.yml => pr-build-camel-3.yml} | 3 +--
 .github/workflows/{pr-build.yml => pr-build-main.yml}    | 9 +++------
 3 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/component-pr.yaml 
b/.github/workflows/component-pr.yaml
index cdcd9e5e516..a2eb59286c7 100644
--- a/.github/workflows/component-pr.yaml
+++ b/.github/workflows/component-pr.yaml
@@ -15,7 +15,7 @@
 # limitations under the License.
 #
 
-name: component check
+name: Component Check
 
 on:
   pull_request_target:
@@ -26,7 +26,7 @@ on:
       - 'core/**'
       - 'components/**'
   workflow_run:
-    workflows: [ "main pr build" ]
+    workflows: [ "PR Build (Camel 3.x)", "PR Build (Camel 4)" ]
     types:
       - completed
 
diff --git a/.github/workflows/pr-build.yml 
b/.github/workflows/pr-build-camel-3.yml
similarity index 99%
copy from .github/workflows/pr-build.yml
copy to .github/workflows/pr-build-camel-3.yml
index f2a129e59de..c28d4048c50 100644
--- a/.github/workflows/pr-build.yml
+++ b/.github/workflows/pr-build-camel-3.yml
@@ -15,12 +15,11 @@
 # limitations under the License.
 #
 
-name: main pr build
+name: PR Build (Camel 3.x)
 
 on:
   pull_request:
     branches:
-      - main
       - camel-3.18.x
       - camel-3.14.x
       - camel-3.x
diff --git a/.github/workflows/pr-build.yml 
b/.github/workflows/pr-build-main.yml
similarity index 96%
rename from .github/workflows/pr-build.yml
rename to .github/workflows/pr-build-main.yml
index f2a129e59de..55dc4b599f1 100644
--- a/.github/workflows/pr-build.yml
+++ b/.github/workflows/pr-build-main.yml
@@ -15,15 +15,12 @@
 # limitations under the License.
 #
 
-name: main pr build
+name: PR Build (Camel 4)
 
 on:
   pull_request:
     branches:
       - main
-      - camel-3.18.x
-      - camel-3.14.x
-      - camel-3.x
     paths-ignore:
       - README.md
       - SECURITY.md
@@ -45,7 +42,7 @@ jobs:
       uses: actions/setup-java@v3
       with:
         distribution: 'temurin'
-        java-version: 11
+        java-version: 17
         cache: 'maven'
     - name: mvn checkstyle
       run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -l checkstyle.log 
-Dmvnd.threads=2 -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress  
-Dcheckstyle.failOnViolation=true -e checkstyle:checkstyle
@@ -72,7 +69,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        java: [ '11' ]
+        java: [ '17' ]
     steps:
       - uses: actions/checkout@v3
         with:

Reply via email to