openai / openai-dotnet

The official .NET library for the OpenAI API
https://www.nuget.org/packages/OpenAI/AbsoluteLatest
MIT License
722 stars 62 forks source link

Add workflows for build and release #2

Closed hallipr closed 3 weeks ago

hallipr commented 4 weeks ago

The build pipeline will add a dynamic version suffix to the pipeline and run build, test and pack. On non-PR runs, it will publish the alpha versioned package to the internal GitHub NuGet feed.

The release pipeline is queued whenever a new release is created in GitHub. It doesn't use any dynamic versioning, relying on the version committed to the repo. It will build, test, pack and release the package to GitHub.