diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 4b26cfc..4b923ec 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -10,3 +10,8 @@ jobs: uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@dev secrets: API_KEY: ${{ secrets.DEFAULT_NUGET_PUBLISH_API_KEY }} + with: + # Needed because the DebugType is set to "embedded" in the project files which results in empty snupkg files. To + # avoid the "The package does not contain any symbol (.pdb) files." error during NuGet publishing we should set + # this to "false". + dotnet-pack-include-symbols: "false" diff --git a/Lombiq.ChartJs.Samples/Lombiq.ChartJs.Samples.csproj b/Lombiq.ChartJs.Samples/Lombiq.ChartJs.Samples.csproj index 226ce63..e58dce4 100644 --- a/Lombiq.ChartJs.Samples/Lombiq.ChartJs.Samples.csproj +++ b/Lombiq.ChartJs.Samples/Lombiq.ChartJs.Samples.csproj @@ -30,8 +30,8 @@ - - + + @@ -42,8 +42,15 @@ + + + embedded + + - + diff --git a/Lombiq.ChartJs.Tests.UI/Lombiq.ChartJs.Tests.UI.csproj b/Lombiq.ChartJs.Tests.UI/Lombiq.ChartJs.Tests.UI.csproj index 710895c..48fdcdc 100644 --- a/Lombiq.ChartJs.Tests.UI/Lombiq.ChartJs.Tests.UI.csproj +++ b/Lombiq.ChartJs.Tests.UI/Lombiq.ChartJs.Tests.UI.csproj @@ -29,8 +29,14 @@ + + + embedded + + - + diff --git a/Lombiq.ChartJs/Lombiq.ChartJs.csproj b/Lombiq.ChartJs/Lombiq.ChartJs.csproj index 01855e9..9cf080e 100644 --- a/Lombiq.ChartJs/Lombiq.ChartJs.csproj +++ b/Lombiq.ChartJs/Lombiq.ChartJs.csproj @@ -33,7 +33,7 @@ - + @@ -41,9 +41,16 @@ + + + embedded + + - - + +