brandedoutcast / publish-nuget

📦 GitHub action to automate publishing NuGet packages when project version changes
https://github.com/marketplace/actions/publish-nuget
MIT License
197 stars 101 forks source link

Including README.md #71

Open arman-g opened 2 years ago

arman-g commented 2 years ago

It would be nice to add an option for including the project's README.md file and upload it to nuget.org so it can be shown under the README tab. Currently the only way to add this file is a manual process from nuget.org.

alexeyshockov commented 2 years ago

Looks like you can configure that in your project file, as described in this blog post:

    <PropertyGroup>
        <PackageReadmeFile>README.md</PackageReadmeFile>
    </PropertyGroup>

    <ItemGroup>
        <None Include="..\..\README.md" Pack="true" PackagePath="" />
    </ItemGroup>