This is an automated email from the ASF dual-hosted git repository.
nfilotto pushed a commit to branch camel-spring-boot-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/camel-spring-boot-4.8.x by
this push:
new 529e1845c02 chore(build): clean up
529e1845c02 is described below
commit 529e1845c02bc1dc41e8c46060e401e94fbc05cf
Author: Nicolas Filotto <[email protected]>
AuthorDate: Wed Oct 30 18:17:17 2024 +0100
chore(build): clean up
* Read only mode
* Remove useless archives
---
.github/workflows/pr-build-main.yml | 24 ++++++++----------------
1 file changed, 8 insertions(+), 16 deletions(-)
diff --git a/.github/workflows/pr-build-main.yml
b/.github/workflows/pr-build-main.yml
index c626f308ace..03bb75ac77c 100644
--- a/.github/workflows/pr-build-main.yml
+++ b/.github/workflows/pr-build-main.yml
@@ -28,10 +28,16 @@ on:
- 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 }}