You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2022/10/31 02:25:24 UTC

[skywalking-infra-e2e] branch gha updated: Update cache key

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

kezhenxu94 pushed a commit to branch gha
in repository https://gitbox.apache.org/repos/asf/skywalking-infra-e2e.git


The following commit(s) were added to refs/heads/gha by this push:
     new c657853  Update cache key
c657853 is described below

commit c65785393e588d6d569f608dedaf082cc8c92c0e
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Mon Oct 31 10:25:16 2022 +0800

    Update cache key
---
 action.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/action.yaml b/action.yaml
index 67fe2f9..591ed7e 100644
--- a/action.yaml
+++ b/action.yaml
@@ -37,7 +37,7 @@ runs:
         path: |
           ~/.cache/go-build
           ~/go/pkg/mod
-        key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
+        key: ${{ runner.os }}-go-${{ hashFiles("$GITHUB_ACTION_PATH/go.sum") }}
         restore-keys: |
           ${{ runner.os }}-go-
     - uses: actions/cache@v3
@@ -46,7 +46,7 @@ runs:
         path: |
           ~/Library/Caches/go-build
           ~/go/pkg/mod
-        key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
+        key: ${{ runner.os }}-go-${{ hashFiles("$GITHUB_ACTION_PATH/go.sum") }}
         restore-keys: |
           ${{ runner.os }}-go-
     - uses: actions/cache@v3
@@ -55,7 +55,7 @@ runs:
         path: |
           ~\AppData\Local\go-build
           ~\go\pkg\mod
-        key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
+        key: ${{ runner.os }}-go-${{ hashFiles("$GITHUB_ACTION_PATH/go.sum") }}
         restore-keys: |
           ${{ runner.os }}-go-
     - shell: bash