Skip to content

Commit

Permalink
clean valkey repo before cloning it
Browse files Browse the repository at this point in the history
  • Loading branch information
barshaul committed Jun 29, 2024
1 parent 3cb0ce6 commit dc87537
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/install-valkey/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit dc87537

Please sign in to comment.