From a0e3dab2089ce8a17a868f8a6e4d797eba82bcf5 Mon Sep 17 00:00:00 2001 From: Albert Callarisa Date: Thu, 13 Nov 2025 08:12:54 +0100 Subject: [PATCH] fix: Fetch latest build instead of page1-limit1 to figure out cli version Signed-off-by: Albert Callarisa --- .github/workflows/validate_examples.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate_examples.yaml b/.github/workflows/validate_examples.yaml index e55a2291..f87cd246 100644 --- a/.github/workflows/validate_examples.yaml +++ b/.github/workflows/validate_examples.yaml @@ -70,7 +70,7 @@ jobs: echo "Found $RUNTIME_VERSION" - name: Determine latest Dapr Cli version run: | - export CLI_VERSION=$(curl "https://api.github.com/repos/dapr/cli/releases?per_page=1&page=1" --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' | jq '.[0].tag_name'| tr -d '",v') + export CLI_VERSION=$(curl "https://api.github.com/repos/dapr/cli/releases/latest" --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' | jq '.tag_name'| tr -d '",v') echo "DAPR_CLI_VER=$CLI_VERSION" >> $GITHUB_ENV echo "Found $CLI_VERSION" - name: Set up Python ${{ matrix.python_ver }}