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

Construct the repo/tag url using the server_url property #5

Closed hallipr closed 3 weeks ago

hallipr commented 3 weeks ago

The expression ${{ github.repository }} was only returning openai/openai-dotnet , so we need to prepend it with https://github.com/. We can get that from ${{ github.server_url }}. We don't statically set it so forks can use the workflow when releasing from their repo.