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
The ADotNet library provides a fluent API (Currently only for GitHub Actions) to simplify the creation of pipelines in a declarative, strongly-typed manner. The fluent API makes it intuitive and convenient to define complex pipeline configurations without the need for YAML.
349
+
350
+
### Example for GitHub Actions
351
+
Here's an example of how to create a GitHub Actions pipeline using the fluent API:
- Added support for custom tasks using `AddGenericStep`:
393
+
```csharp
394
+
job.AddGenericStep(
395
+
name: "Provision",
396
+
runCommand: "dotnet run --project ./Project.csproj");
397
+
```
347
398
## Some Odd Decisions
348
399
I have intentionally limited some of the capabilities in this library to ensure any contributions go to this repository so everyone can benefit from the updates. For instance, I could've easily made selecting a virtual machine as a string input to allow for anyone to pass in whatever vm they need. But the problem with that is for those who will need the same thing and have to do the same research to find the right VM for their build.
0 commit comments