From dc87537e298e69b1f77d198ca2e6d0d9c21b38e2 Mon Sep 17 00:00:00 2001 From: barshaul Date: Sat, 29 Jun 2024 16:13:22 +0000 Subject: [PATCH] clean valkey repo before cloning it --- .github/workflows/install-valkey/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/install-valkey/action.yml b/.github/workflows/install-valkey/action.yml index ce84dff5fe..8db9c2bbdd 100644 --- a/.github/workflows/install-valkey/action.yml +++ b/.github/workflows/install-valkey/action.yml @@ -41,6 +41,7 @@ runs: run: | echo "Building valkey ${{ inputs.engine-version }}" cd ~ + rm -rf valkey git clone https://github.com/valkey-io/valkey.git cd valkey git checkout ${{ inputs.engine-version }} @@ -74,7 +75,7 @@ runs: # In Valkey releases, the engine is built with symlinks from valkey-server and valkey-cli # to redis-server and redis-cli. This step ensures that the engine is properly installed # with the expected version and that Valkey symlinks are correctly created. - + IS_VALKEY=${{ steps.is_valkey_release.outputs.result }} EXPECTED_VERSION=`echo ${{ inputs.engine-version }} | sed -e "s/^redis-//"` REDIS_SERVER_VER=$(redis-server -v)