Skip to content

Commit

Permalink
Pick latest Dapr CLI and Runtime (dapr#192)
Browse files Browse the repository at this point in the history
* Pick latest Dapr CLI and Runtime

* Update validate_examples.yaml

* Update validate_examples.yaml
  • Loading branch information
berndverst authored Jul 23, 2021
1 parent 3f73517 commit f4a9a1f
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/validate_examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,22 @@ jobs:
GOOS: linux
GOARCH: amd64
GOPROXY: https://proxy.golang.org
DAPR_CLI_VER: 1.3.0-rc.2
DAPR_RUNTIME_VER: 1.3.0-rc.3
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/master/install/install.sh
DAPR_CLI_REF:
DAPR_REF:
steps:
- uses: actions/checkout@v2
- uses: azure/setup-helm@v1
- name: Determine latest Dapr Runtime version
run: |
helm repo add dapr https://dapr.github.io/helm-charts/ && helm repo update && export RUNTIME_VERSION=$(helm show chart dapr/dapr --devel | grep "appVersion: [0-9]\+\.[0-9]\+\.[0-9]\+.*" | cut -d ' ' -f2)
echo "DAPR_RUNTIME_VER=$RUNTIME_VERSION" >> $GITHUB_ENV
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" | grep '"tag_name"' | cut -d ':' -f2 | tr -d '",v')
echo "DAPR_CLI_VER=$CLI_VERSION" >> $GITHUB_ENV
echo "Found $CLI_VERSION"
- name: Set up Python ${{ env.PYTHON_VER }}
uses: actions/setup-python@v2
with:
Expand Down

0 comments on commit f4a9a1f

Please sign in to comment.