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

jianglongtao pushed a commit to branch fix-33341
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git

commit 280e0da2fd9575a41b4d087066f0ec5a03af115d
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Thu Sep 5 12:10:02 2024 +0800

    Refactor : update the .m2 cache path
---
 .github/workflows/workflow-dispatch-ci.yml            | 6 +++---
 .github/workflows/workflow-dispatch-e2e-operation.yml | 2 +-
 .github/workflows/workflow-dispatch-e2e-sql.yml       | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/workflow-dispatch-ci.yml 
b/.github/workflows/workflow-dispatch-ci.yml
index e5a76762330..8702addcd15 100644
--- a/.github/workflows/workflow-dispatch-ci.yml
+++ b/.github/workflows/workflow-dispatch-ci.yml
@@ -52,7 +52,7 @@ jobs:
           java-version: ${{ matrix.java-version }}
       - uses: actions/cache@v4
         with:
-          path: ~/.m2/repository/dbplus-engine-honor/${{ github.ref_name 
}}/repository/
+          path: ~/.m2/dbplus-engine-honor/${{ github.ref_name }}/repository/
           key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX 
}}-maven-third-party-cache-${{ github.sha }}
           restore-keys: |
             ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX 
}}-maven-third-party-cache-
@@ -84,7 +84,7 @@ jobs:
           java-version: 11
       - uses: actions/cache@v4
         with:
-          path: ~/.m2/repository/dbplus-engine-honor/${{ github.ref_name 
}}/repository/
+          path: ~/.m2/dbplus-engine-honor/${{ github.ref_name }}/repository/
           key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX 
}}-maven-third-party-cache-${{ github.sha }}
           restore-keys: |
             ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX 
}}-maven-third-party-cache-
@@ -119,7 +119,7 @@ jobs:
           github-token: ${{ secrets.GITHUB_TOKEN }}
       - uses: actions/cache@v4
         with:
-          path: ~/.m2/repository/dbplus-engine-honor/${{ github.ref_name 
}}/repository/
+          path: ~/.m2/dbplus-engine-honor/${{ github.ref_name }}/repository/
           key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX 
}}-maven-third-party-cache-${{ github.sha }}
           restore-keys: |
             ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX 
}}-maven-third-party-cache-
diff --git a/.github/workflows/workflow-dispatch-e2e-operation.yml 
b/.github/workflows/workflow-dispatch-e2e-operation.yml
index 95fca2299b9..fcf5d5722de 100644
--- a/.github/workflows/workflow-dispatch-e2e-operation.yml
+++ b/.github/workflows/workflow-dispatch-e2e-operation.yml
@@ -60,7 +60,7 @@ jobs:
       - name: Retrieve Maven Caches
         uses: actions/cache@v4
         with:
-          path: ~/.m2/repository/dbplus-engine-honor/${{ github.ref_name 
}}/repository/
+          path: ~/.m2/dbplus-engine-honor/${{ github.ref_name }}/repository/
           key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX 
}}-maven-third-party-e2e-cache-${{ github.sha }}
           restore-keys: |
             ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX 
}}-maven-third-party-e2e-cache-
diff --git a/.github/workflows/workflow-dispatch-e2e-sql.yml 
b/.github/workflows/workflow-dispatch-e2e-sql.yml
index 0f7eb22bf93..b8fb2c0c0b0 100644
--- a/.github/workflows/workflow-dispatch-e2e-sql.yml
+++ b/.github/workflows/workflow-dispatch-e2e-sql.yml
@@ -48,7 +48,7 @@ jobs:
           java-version: 11
       - uses: actions/cache@v4
         with:
-          path: ~/.m2/repository/dbplus-engine-honor/${{ github.ref_name 
}}/repository/
+          path: ~/.m2/dbplus-engine-honor/${{ github.ref_name }}/repository/
           key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX 
}}-maven-third-party-e2e-cache-${{ github.sha }}
           restore-keys: |
             ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX 
}}-maven-third-party-e2e-cache-
@@ -107,7 +107,7 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions/cache@v4
         with:
-          path: ~/.m2/repository/dbplus-engine-honor/${{ github.ref_name 
}}/repository/
+          path: ~/.m2/dbplus-engine-honor/${{ github.ref_name }}/repository/
           key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX 
}}-maven-third-party-e2e-cache-${{ github.sha }}
       - uses: actions/setup-java@v4
         with:

Reply via email to