From d7b9a555ab2779826126648383b04ee0f1176f4a Mon Sep 17 00:00:00 2001 From: i-ky Date: Sat, 3 Feb 2024 22:38:26 +0200 Subject: [PATCH] Invoke Bash to interpolate variables --- .github/workflows/sourcegraph.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sourcegraph.yml b/.github/workflows/sourcegraph.yml index a77c910..3fada47 100644 --- a/.github/workflows/sourcegraph.yml +++ b/.github/workflows/sourcegraph.yml @@ -25,7 +25,7 @@ jobs: TAG=v0.3.1 OS="$(uname -s | tr '[:upper:]' '[:lower:]')" RELEASE_URL="https://github.com/sourcegraph/scip-clang/releases/download/$TAG" - curl -L "$RELEASE_URL/scip-clang-x86_64-$OS" -o /usr/local/bin/scip-clang && + bash -c 'curl -L "$RELEASE_URL/scip-clang-x86_64-$OS" -o /usr/local/bin/scip-clang' && chmod +x /usr/local/bin/scip-clang - name: Generate index run: ./scip-clang --compdb-path=./compile_commands.json