A template repository for NuGet packages.
Add this to the repo description when creating it: (", " is special)
ProjectName: MyAwesomeProject.Api,
Prefix: Meeee,
Namespace: MyAwesomeProject,
Description: This project is really awesome!,
Tags: Awesomeness; Project; 1000,
Package: Optional.Package.ToReference
Prefix is merged with ProjectName where needed, like for the package name.
NUGET_ORG_API_KEY
needs to be added as a secret for the nuget.org
environment.
The repo description must be manually changed afterwards since the workflow doesn't have permission to change it for you.
root/
├─ .github/
│ ├─ workflows/
│ │ ├─ codeql-analysis.yml
│ │ ├─ dotnet.yml
│ ├─ dependabot.yml
├─ ProjectName/
│ ├─ ProjectName.csproj
│ ├─ Class1.cs
├─ ProjectName.Tests/
│ ├─ ProjectName.Tests.csproj
│ ├─ TestClass1.cs
├─ .gitignore
├─ LICENSE
├─ ProjectName.sln
├─ ProjectName.png
├─ README.md
├─ SECURITY.md
Thanks to Liam Gulliver for his great tutorial.