We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c44c28d commit f42be57Copy full SHA for f42be57
.github/workflows/validate_examples.yaml
@@ -70,7 +70,7 @@ jobs:
70
echo "Found $RUNTIME_VERSION"
71
- name: Determine latest Dapr Cli version
72
run: |
73
- 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')
74
echo "DAPR_CLI_VER=$CLI_VERSION" >> $GITHUB_ENV
75
echo "Found $CLI_VERSION"
76
- name: Set up Python ${{ matrix.python_ver }}
0 commit comments