From 475adf84e88bb0d9a350c4d26c3166fa6a2486fa Mon Sep 17 00:00:00 2001 From: barshaul Date: Thu, 27 Jun 2024 18:00:30 +0000 Subject: [PATCH] Added missings --- .github/workflows/install-valkey/action.yml | 9 ++++++++- .github/workflows/node.yml | 1 + .github/workflows/npm-cd.yml | 2 ++ .github/workflows/pypi-cd.yml | 1 + 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/install-valkey/action.yml b/.github/workflows/install-valkey/action.yml index 8ba5f1d083..90e903f197 100644 --- a/.github/workflows/install-valkey/action.yml +++ b/.github/workflows/install-valkey/action.yml @@ -48,7 +48,14 @@ runs: shell: bash run: | cd ~/valkey - sudo make install + if command -v sudo &> /dev/null + then + echo "sudo command exists" + sudo make install + else + echo "sudo command does not exist" + make install + fi echo 'export PATH=/usr/local/bin:$PATH' >>~/.bash_profile - name: Check if the current version is a Valkey release diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index f80e37ad07..54d8f43b9c 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -208,6 +208,7 @@ jobs: arch: x64 target: x86_64-unknown-linux-musl github-token: ${{ secrets.GITHUB_TOKEN }} + engine-version: "7.2.5" - name: Test compatibility shell: bash diff --git a/.github/workflows/npm-cd.yml b/.github/workflows/npm-cd.yml index 7f3ccb96db..343d4e784a 100644 --- a/.github/workflows/npm-cd.yml +++ b/.github/workflows/npm-cd.yml @@ -135,6 +135,7 @@ jobs: npm_scope: ${{ vars.NPM_SCOPE }} publish: "true" github-token: ${{ secrets.GITHUB_TOKEN }} + engine-version: "7.2.5" - name: Check if RC and set a distribution tag for the package shell: bash @@ -228,6 +229,7 @@ jobs: os: ubuntu target: "x86_64-unknown-linux-gnu" github-token: ${{ secrets.GITHUB_TOKEN }} + engine-version: "7.2.5" - name: Check if RC and set a distribution tag for the package shell: bash diff --git a/.github/workflows/pypi-cd.yml b/.github/workflows/pypi-cd.yml index c7a3b8f256..07b0ee60d5 100644 --- a/.github/workflows/pypi-cd.yml +++ b/.github/workflows/pypi-cd.yml @@ -136,6 +136,7 @@ jobs: target: ${{ matrix.build.TARGET }} publish: "true" github-token: ${{ secrets.GITHUB_TOKEN }} + engine-version: "7.2.5" - name: Include protobuf files in the package working-directory: ./python