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

twice pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git


The following commit(s) were added to refs/heads/unstable by this push:
     new 5f6d7b205 fix(ci): modify Redis build cache keys (#3430)
5f6d7b205 is described below

commit 5f6d7b2053e0a0c514556a99aa66b06e30b76eaf
Author: 纪华裕 <[email protected]>
AuthorDate: Wed Apr 8 17:19:18 2026 +0800

    fix(ci): modify Redis build cache keys (#3430)
    
    Ubuntu 22.04 incorrectly uses the cached redis-cli from Ubuntu 24.04,
    causing go test to fail.
    Update the cache key to prevent this issue.
---
 .github/workflows/kvrocks.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/kvrocks.yaml b/.github/workflows/kvrocks.yaml
index 69194a17c..f9c0228e6 100644
--- a/.github/workflows/kvrocks.yaml
+++ b/.github/workflows/kvrocks.yaml
@@ -297,14 +297,14 @@ jobs:
         with:
           path: |
             ~/local/bin/redis-cli
-          key: ${{ runner.os }}-${{ runner.arch }}-redis-cli
+          key: ${{ matrix.os }}-redis-cli
       - name: Cache redis server
         id: cache-redis-server
         uses: actions/cache@v5
         with:
           path: |
             ~/local/bin/redis-server
-          key: ${{ runner.os }}-${{ runner.arch }}-redis-server
+          key: ${{ matrix.os }}-redis-server
       - name: Install redis
         if: ${{ steps.cache-redis.outputs.cache-hit != 'true' || 
steps.cache-redis-server.outputs.cache-hit != 'true' }}
         run: |

Reply via email to