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

nfilotto 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 87c398e172a chore(build): clean up
87c398e172a is described below

commit 87c398e172ad9a0f9831470e2659c74511717591
Author: Nicolas Filotto <essob...@users.noreply.github.com>
AuthorDate: Wed Oct 30 18:14:45 2024 +0100

    chore(build): clean up
    
    * Read only mode
    * Remove useless archives
---
 .github/workflows/pr-build-main.yml | 26 +++++++++-----------------
 1 file changed, 9 insertions(+), 17 deletions(-)

diff --git a/.github/workflows/pr-build-main.yml 
b/.github/workflows/pr-build-main.yml
index 988a0ae48ac..03bb75ac77c 100644
--- a/.github/workflows/pr-build-main.yml
+++ b/.github/workflows/pr-build-main.yml
@@ -21,17 +21,23 @@ on:
   pull_request:
     branches:
       - main
-      - camel-spring-boot-4.0.x
+      - camel-spring-boot-4.8.x
     paths-ignore:
       - README.md
       - Jenkinsfile
       - Jenkinsfile.*
       - '*.txt'
 
+permissions:
+  contents: read
+
 jobs:
   build:
     if: github.repository == 'apache/camel-spring-boot'
     runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        java: ['17']
     steps:
     - uses: actions/checkout@v4
       with:
@@ -39,7 +45,7 @@ jobs:
     - name: Set Up Java
       uses: actions/setup-java@v4
       with:
-        java-version: 17
+        java-version: ${{ matrix.java }}
         distribution: 'temurin'
         cache: 'maven'
     - name: Maven Test
@@ -50,18 +56,4 @@ jobs:
         github-token: ${{ secrets.GITHUB_TOKEN }}
         skip-mvnd-install: 'false'
         github-repo: apache/camel-spring-boot
-    - name: Archive Logs
-      uses: actions/upload-artifact@v4
-      if: always()
-      with:
-        name: build.log
-        path: build.log
-    - name: Archive Surefire Logs
-      uses: actions/upload-artifact@v4
-      if: always()
-      with:
-        name: integration-test-surefire-logs
-        path: |
-          tests/camel-itest-spring-boot/target/surefire-reports
-          
tests/camel-spring-boot-integration-tests/infinispan/target/surefire-reports
-        retention-days: 2
+        artifact-upload-suffix: java-${{ matrix.java }}

Reply via email to