From 3e30b1bab860fe1f92453e09c3e3cbc5827268e8 Mon Sep 17 00:00:00 2001 From: Eduard Voiculescu Date: Mon, 2 Feb 2026 15:52:15 -0500 Subject: [PATCH] Fetch Lightdash version without jq-action Replaced jq-action usage with a direct command to fetch the Lightdash version and set it as an output variable. I see these lines were here 4 years ago, when jq was not widely available on all ubuntu machines. --- compile.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compile.yml b/compile.yml index 5831191..2a73a75 100644 --- a/compile.yml +++ b/compile.yml @@ -38,12 +38,12 @@ jobs: run: echo "PROJECT_DIR=$(find . -name "dbt_project.yml" | sed 's/dbt_project.yml//g')" >> $GITHUB_ENV - name: Get lightdash version - uses: sergeysova/jq-action@v2 id: version env: LIGHTDASH_URL: ${{ secrets.LIGHTDASH_URL }} - with: - cmd: curl -s "${LIGHTDASH_URL}/api/v1/health" | jq -r '.results.version' + run: | + VERSION=$(curl -s "${LIGHTDASH_URL}/api/v1/health" | jq -r '.results.version') + echo "value=$VERSION" >> $GITHUB_OUTPUT - name: Copy profiles.yml env: