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 2023/08/23 11:44:36 UTC

[camel-kamelets] branch main updated: Remove no more needed GitHub actions/cache (#1587)

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 63fdde8d Remove no more needed GitHub actions/cache (#1587)
63fdde8d is described below

commit 63fdde8d8f54e6bfd5be952360c2a432005d2927
Author: Aurélien Pupier <ap...@redhat.com>
AuthorDate: Wed Aug 23 13:44:32 2023 +0200

    Remove no more needed GitHub actions/cache (#1587)
    
    the cache for Maven is now built-in with actions/setup-java@v3
    
    it will also avoid warning: `The following actions uses node12 which is
    deprecated and will be forced to run on node16: actions/cache@v1 For
    more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/`
    
    Signed-off-by: Aurélien Pupier <ap...@redhat.com>
---
 .github/workflows/main-push-regen.yaml | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/.github/workflows/main-push-regen.yaml b/.github/workflows/main-push-regen.yaml
index 62c7f1e7..e742940f 100644
--- a/.github/workflows/main-push-regen.yaml
+++ b/.github/workflows/main-push-regen.yaml
@@ -44,12 +44,6 @@ jobs:
         uses: actions/setup-go@v4
         with:
           go-version: 1.16.x
-      - name: Cache Maven Repository
-        uses: actions/cache@v1
-        with:
-          path: ~/.m2
-          key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
-          restore-keys: ${{ runner.os }}-m2
       - name: Build catalog 1st Run
         run: ./mvnw clean install -DskipTests
       - name: Build catalog 2nd Run