Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Feb 21, 2025
1 parent 8412230 commit 750cfb5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/install-engine/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,15 @@ runs:
uses: actions/cache@v4
id: cache-valkey
with:
path: |
~/valkey
path: ${{ runner.temp }}/valkey
key: valkey-${{ inputs.engine-version }}-${{ inputs.target }}

- name: Prepare Valkey sources
if: ${{ steps.cache-valkey.outputs.cache-hit != 'true' }}
shell: bash
run: |
echo "Cloning and checking out Valkey ${{ inputs.engine-version }}"
cd ~/
cd ${{ runner.temp }}
if [[ -d valkey ]]; then
echo "Removing existing valkey directory..."
rm -fR valkey
Expand All @@ -59,7 +58,7 @@ runs:
- name: Build and install engine
shell: bash
run: |
cd ~/valkey
cd ${{ runner.temp }}/valkey
make BUILD_TLS=yes
if command -v sudo &> /dev/null
then
Expand All @@ -69,7 +68,7 @@ runs:
echo "sudo command does not exist"
make install
fi
echo 'export PATH=/usr/local/bin:$PATH' >>~/.bash_profile
echo 'export PATH=/usr/local/bin:$PATH' >> ~/.bash_profile
# TODO: This seems redundant to me. Is it necessary? Do we check that the Python we install is the correct version?
# Why here and not elsewhere? All Git git repos were created equal
Expand Down

0 comments on commit 750cfb5

Please sign in to comment.