You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by yx...@apache.org on 2022/10/12 16:01:35 UTC

[shardingsphere] branch master updated: Refactor : remove the keystore for specific jobs. (#21531)

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

yx9o 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 a208e883b4d Refactor : remove the keystore for specific jobs. (#21531)
a208e883b4d is described below

commit a208e883b4d9d9bea139a1c44408b59bfe5b2651
Author: 孙念君 Nianjun Sun <su...@sphere-ex.com>
AuthorDate: Thu Oct 13 00:01:26 2022 +0800

    Refactor : remove the keystore for specific jobs. (#21531)
    
    Co-authored-by: 孙念君 Nianjun Sun <su...@apache.com>
---
 .github/workflows/it.yml | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/.github/workflows/it.yml b/.github/workflows/it.yml
index 82cf634287b..73d0bd3bb96 100644
--- a/.github/workflows/it.yml
+++ b/.github/workflows/it.yml
@@ -110,9 +110,6 @@ jobs:
         with:
           path: ~/.m2/repository
           key: shardingsphere-maven-third-party-it-cache-${{ github.sha }}
-          restore-keys: |
-            shardingsphere-maven-third-party-it-cache
-            shardingsphere-maven-third-party-
       - uses: actions/setup-java@v3
         with:
           distribution: 'temurin'
@@ -150,9 +147,6 @@ jobs:
         with:
           path: ~/.m2/repository
           key: shardingsphere-maven-third-party-it-cache-${{ github.sha }}
-          restore-keys: |
-            shardingsphere-maven-third-party-it-cache-
-            shardingsphere-maven-third-party-
       - uses: actions/setup-java@v3
         with:
           distribution: 'temurin'
@@ -190,9 +184,6 @@ jobs:
         with:
           path: ~/.m2/repository
           key: shardingsphere-maven-third-party-it-cache-${{ github.sha }}
-          restore-keys: |
-            shardingsphere-maven-third-party-it-cache-
-            shardingsphere-maven-third-party-
       - uses: actions/setup-java@v3
         with:
           distribution: 'temurin'
@@ -221,9 +212,8 @@ jobs:
       - uses: actions/cache@v3
         with:
           path: ~/.m2/repository
-          key: shardingsphere-maven-third-party-it-cache-${{ github.sha }}
+          key: shardingsphere-maven-third-party-${{ hashFiles('**/pom.xml') }}
           restore-keys: |
-            shardingsphere-maven-third-party-it-cache-
             shardingsphere-maven-third-party-
       - name: Maven resolve ranges
         run: ./mvnw versions:resolve-ranges -ntp -Dincludes='org.springframework:*,org.springframework.boot:*'