File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,14 +65,14 @@ jobs:
6565 repository : ${{ env.CHECKOUT_REPO }}
6666 ref : ${{ env.CHECKOUT_REF }}
6767 - uses : azure/setup-helm@v4
68- - name : Determine latest Dapr Runtime version
68+ - name : Determine latest Dapr Runtime version (including prerelease)
6969 run : |
70- helm repo add dapr https://dapr .github.io/helm-charts/ && helm repo update && export RUNTIME_VERSION=$(helm search repo dapr/dapr --devel --versions | awk '/dapr\/dapr/ {print $3; exit}' )
70+ RUNTIME_VERSION=$(curl -s " https://api .github.com/repos/dapr/dapr/releases" | grep '"tag_name"' | head -n 1 | cut -d ':' -f2 | tr -d '",v ' )
7171 echo "DAPR_RUNTIME_VER=$RUNTIME_VERSION" >> $GITHUB_ENV
7272 echo "Found $RUNTIME_VERSION"
73- - name : Determine latest Dapr Cli version
73+ - name : Determine latest Dapr Cli version (including prerelease)
7474 run : |
75- 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')
75+ CLI_VERSION=$(curl -s "https://api.github.com/repos/dapr/cli/releases" | grep '"tag_name"' | head -n 1 | cut -d ':' -f2 | tr -d '",v ')
7676 echo "DAPR_CLI_VER=$CLI_VERSION" >> $GITHUB_ENV
7777 echo "Found $CLI_VERSION"
7878 - name : Set up Python ${{ matrix.python_ver }}
You can’t perform that action at this time.
0 commit comments