Skip to content

Commit c943265

Browse files
committed
Keep inputs for the commit SHA in the CLI and runtime
Signed-off-by: Albert Callarisa <albert@diagrid.io>
1 parent ad9b7b4 commit c943265

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/validate_examples.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ on:
1919
- release-*
2020
- feature/*
2121
workflow_dispatch:
22+
inputs:
23+
daprdapr_commit:
24+
description: 'Dapr/Dapr commit to build custom daprd from'
25+
required: false
26+
default: ''
27+
daprcli_commit:
28+
description: 'Dapr/CLI commit to build custom dapr CLI from'
29+
required: false
30+
default: ''
2231
repository_dispatch:
2332
types: [validate-examples]
2433
merge_group:
@@ -58,8 +67,14 @@ jobs:
5867
pip install setuptools wheel twine tox
5968
- name: Set up Dapr CLI
6069
uses: dapr/.github/.github/actions/setup-dapr-cli@main
70+
with:
71+
commit: ${{ github.event.inputs.daprcli_commit }}
72+
github-token: ${{ secrets.GITHUB_TOKEN }}
6173
- name: Set up Dapr runtime
6274
uses: dapr/.github/.github/actions/setup-dapr-runtime@main
75+
with:
76+
commit: ${{ github.event.inputs.daprdapr_commit }}
77+
github-token: ${{ secrets.GITHUB_TOKEN }}
6378
- name: Set up Llama
6479
run: |
6580
curl -fsSL https://ollama.com/install.sh | sh

0 commit comments

Comments
 (0)