You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2022/08/17 08:59:44 UTC

[shardingsphere] branch master updated: Fix the maven cache action (#20220)

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

zhonghongsheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 5b36c73ad95 Fix the maven cache action (#20220)
5b36c73ad95 is described below

commit 5b36c73ad95575b070286e8a52bc51c2ea934de5
Author: 孙念君 Nianjun Sun <su...@sphere-ex.com>
AuthorDate: Wed Aug 17 16:59:29 2022 +0800

    Fix the maven cache action (#20220)
---
 .github/workflows/it-scaling.yml     | 4 +++-
 .github/workflows/it-transaction.yml | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/it-scaling.yml b/.github/workflows/it-scaling.yml
index f6117fee58c..4a8d932c0a6 100644
--- a/.github/workflows/it-scaling.yml
+++ b/.github/workflows/it-scaling.yml
@@ -81,10 +81,12 @@ jobs:
     steps:
       - uses: actions/checkout@v3
       - name: Cache Maven Repos
-        uses: actions/cache@v3
+        uses: actions/cache@v2
         with:
           path: ~/.m2/repository
           key: shardingsphere-it-cache-${{ github.sha }}
+          restore-keys: |
+            ${{ runner.os }}-maven-
       - name: Set up JDK 8
         uses: actions/setup-java@v3
         with:
diff --git a/.github/workflows/it-transaction.yml b/.github/workflows/it-transaction.yml
index 23abbdd9f14..67ac0896342 100644
--- a/.github/workflows/it-transaction.yml
+++ b/.github/workflows/it-transaction.yml
@@ -62,10 +62,12 @@ jobs:
     steps:
       - uses: actions/checkout@v3
       - name: Cache Maven Repos
-        uses: actions/cache@v3
+        uses: actions/cache@v2
         with:
           path: ~/.m2/repository
           key: shardingsphere-it-cache-${{ github.sha }}
+          restore-keys: |
+            ${{ runner.os }}-maven-
       - name: Set up JDK 8
         uses: actions/setup-java@v3
         with: