You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To allow consuming the dapr CLI in a GitHub Actions workflow, I believe we should support picking up the CLI from an env var value or allow some other way to specify it. Currently, it only checks some fixed locations. For context, see this comment: dotnet/aspire-samples#108 (comment)
I'm working around this in the samples CI now by capturing the Dapr CLI path output from the step that installs it and injecting it as an environment variable to the build and test steps. Then the AppHost project has code like this:
// Workaround for https://github.com/dotnet/aspire/issues/2219if(builder.Configuration.GetValue<string>("DAPR_CLI_PATH")is{} daprCliPath){
builder.Services.Configure<DaprOptions>(options =>{ options.DaprPath =daprCliPath;});}
To allow consuming the dapr CLI in a GitHub Actions workflow, I believe we should support picking up the CLI from an env var value or allow some other way to specify it. Currently, it only checks some fixed locations. For context, see this comment: dotnet/aspire-samples#108 (comment)
cc @philliphoff
The text was updated successfully, but these errors were encountered: