replacing hardcoded version numbers with shortcodes

This commit is contained in:
Will Tsai 2021-09-14 16:36:09 -07:00
parent 520b7d02b1
commit 8e8941b18e
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ The `dapr/setup-dapr` action will install the specified version of the Dapr CLI
- name: Install Dapr - name: Install Dapr
uses: dapr/setup-dapr@v1 uses: dapr/setup-dapr@v1
with: with:
version: '1.4.0' version: '{{% dapr-latest-version long="true" %}}'
- name: Initialize Dapr - name: Initialize Dapr
shell: pwsh shell: pwsh

View File

@ -122,7 +122,7 @@ The latest Dapr helm chart no longer supports Helm v2. Please migrate from Helm
```bash ```bash
helm upgrade --install dapr dapr/dapr \ helm upgrade --install dapr dapr/dapr \
--version=1.4 \ --version={{% dapr-latest-version short="true" %}} \
--namespace dapr-system \ --namespace dapr-system \
--create-namespace \ --create-namespace \
--wait --wait
@ -132,7 +132,7 @@ The latest Dapr helm chart no longer supports Helm v2. Please migrate from Helm
```bash ```bash
helm upgrade --install dapr dapr/dapr \ helm upgrade --install dapr dapr/dapr \
--version=1.4 \ --version={{% dapr-latest-version short="true" %}} \
--namespace dapr-system \ --namespace dapr-system \
--create-namespace \ --create-namespace \
--set global.ha.enabled=true \ --set global.ha.enabled=true \