|
37 | 37 | GOOS: linux |
38 | 38 | GOARCH: amd64 |
39 | 39 | GOPROXY: https://proxy.golang.org |
40 | | - DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/master/install/install.sh |
| 40 | + DAPR_RUNTIME_VER: 1.14.5 |
| 41 | + DAPR_CLI_VER: 1.14.1 |
41 | 42 | DAPR_CLI_REF: ${{ github.event.inputs.daprcli_commit }} |
42 | 43 | DAPR_REF: ${{ github.event.inputs.daprdapr_commit }} |
43 | 44 | CHECKOUT_REPO: ${{ github.repository }} |
|
62 | 63 | with: |
63 | 64 | repository: ${{ env.CHECKOUT_REPO }} |
64 | 65 | ref: ${{ env.CHECKOUT_REF }} |
65 | | - - uses: azure/setup-helm@v4 |
66 | | - - name: Determine latest Dapr Runtime version |
67 | | - run: | |
68 | | - 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}' ) |
69 | | - echo "DAPR_RUNTIME_VER=$RUNTIME_VERSION" >> $GITHUB_ENV |
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') |
74 | | - echo "DAPR_CLI_VER=$CLI_VERSION" >> $GITHUB_ENV |
75 | | - echo "Found $CLI_VERSION" |
76 | 66 | - name: Set up Python ${{ matrix.python_ver }} |
77 | 67 | uses: actions/setup-python@v5 |
78 | 68 | with: |
|
82 | 72 | python -m pip install --upgrade pip |
83 | 73 | pip install setuptools wheel twine tox |
84 | 74 | - name: Set up Dapr CLI |
85 | | - run: wget -q ${{ env.DAPR_INSTALL_URL }} -O - | /bin/bash -s ${{ env.DAPR_CLI_VER }} |
| 75 | + run: wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash -s ${{ env.DAPR_CLI_VER }} |
86 | 76 | - name: Set up Go ${{ env.GOVER }} |
87 | 77 | if: env.DAPR_REF != '' || env.DAPR_CLI_REF != '' |
88 | 78 | uses: actions/setup-go@v5 |
|
0 commit comments