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-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
     new a2f2534af7c (chores) ci: upgrade github actions to the same versions 
used by Camel Core
a2f2534af7c is described below

commit a2f2534af7c6e3d1ba886e25d7a64d13f3ac7a3e
Author: Otavio R. Piske <[email protected]>
AuthorDate: Sat Jun 25 11:05:28 2022 +0200

    (chores) ci: upgrade github actions to the same versions used by Camel Core
---
 .github/workflows/automatic-sync-main.yml | 8 +++++---
 .github/workflows/pr-build.yml            | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/automatic-sync-main.yml 
b/.github/workflows/automatic-sync-main.yml
index 2b7a648fabb..bf1e1c6fe0f 100644
--- a/.github/workflows/automatic-sync-main.yml
+++ b/.github/workflows/automatic-sync-main.yml
@@ -27,16 +27,18 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout Camel project
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
         with:
           repository: apache/camel
           persist-credentials: false
           ref: main
           path: camel
-      - name: Set Up Java
-        uses: actions/setup-java@v1
+      - name: Set up JDK
+        uses: actions/setup-java@v3
         with:
+          distribution: 'temurin'
           java-version: 11
+          cache: 'maven'
       - name: Build Camel Project
         run: ./mvnw -V --no-transfer-progress clean install -DskipTests
         working-directory: ${{ github.workspace }}/camel
diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml
index c7540a13d5e..95a01cf27ab 100644
--- a/.github/workflows/pr-build.yml
+++ b/.github/workflows/pr-build.yml
@@ -31,7 +31,7 @@ jobs:
   build:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
       with:
         persist-credentials: false
     - name: Set Up Java
@@ -39,7 +39,7 @@ jobs:
       with:
         java-version: 11
     - name: Maven Build
-      run: ./mvnw -l build.log -V --no-transfer-progress -Psourcecheck clean 
install 
+      run: ./mvnw -l build.log -V --no-transfer-progress -Psourcecheck clean 
install
     - name: Archive Logs
       uses: actions/upload-artifact@v3
       if: always()
@@ -54,4 +54,4 @@ jobs:
         path: |
           tests/camel-itest-spring-boot/target/surefire-reports
           
tests/camel-spring-boot-integration-tests/infinispan/target/surefire-reports
-        retention-days: 2 
\ No newline at end of file
+        retention-days: 2
\ No newline at end of file

Reply via email to