db620d33df
dotnet-build-and-test / dotnet-test-functions (push) Has been cancelled
dotnet-build-and-test / paths-filter (push) Has been cancelled
dotnet-build-and-test / dotnet-build (Debug, windows-latest, net9.0) (push) Has been cancelled
dotnet-build-and-test / dotnet-build (Release, ubuntu-latest, net10.0) (push) Has been cancelled
dotnet-build-and-test / dotnet-build (Release, ubuntu-latest, net8.0) (push) Has been cancelled
dotnet-build-and-test / dotnet-build (Release, windows-latest, net472) (push) Has been cancelled
dotnet-build-and-test / dotnet-test (Release, integration, true, ubuntu-latest, net10.0) (push) Has been cancelled
dotnet-build-and-test / dotnet-test (Release, integration, true, windows-latest, net472) (push) Has been cancelled
dotnet-build-and-test / dotnet-foundry-hosted-it (push) Has been cancelled
dotnet-build-and-test / dotnet-build-and-test-check (push) Has been cancelled
dotnet-build-and-test / Integration Test Report (push) Has been cancelled
CodeQL / Analyze (csharp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
18 lines
666 B
Markdown
18 lines
666 B
Markdown
# Declarative Workflows
|
|
|
|
A _Declarative Workflow_ is defined as a single YAML file and
|
|
may be executed locally no different from any regular `Workflow` that is defined by code.
|
|
|
|
The difference is that the workflow definition is loaded from a YAML file instead of being defined in code:
|
|
|
|
```c#
|
|
Workflow workflow = DeclarativeWorkflowBuilder.Build("Marketing.yaml", options);
|
|
```
|
|
|
|
These example workflows may be executed by the workflow
|
|
[Samples](../../dotnet/samples/03-workflows/Declarative)
|
|
that are present in this repository.
|
|
|
|
> See the [README.md](../../dotnet/samples/03-workflows/Declarative/README.md)
|
|
associated with the samples for configuration details.
|