diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a3aea6c2..e8ade8fb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,11 @@ jobs: uses: actions/upload-artifact@v1 with: name: Notion.Net - path: ./Src/Notion.Client/bin/Release/Notion.Net.${{ github.event.release.tag_name }}.nupkg + path: | + ./Src/Notion.Client/bin/Release/Notion.Net.${{ github.event.release.tag_name }}.nupkg + ./Src/Notion.Client/bin/Release/Notion.Net.${{ github.event.release.tag_name }}.snupkg - name: Publish Nuget Package - run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.nuget_api_key }} --source https://api.nuget.org/v3/index.json --no-symbols true + run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.nuget_api_key }} --source https://api.nuget.org/v3/index.json + + - name: Publish Symbol Package diff --git a/Src/Notion.Client/Notion.Client.csproj b/Src/Notion.Client/Notion.Client.csproj index eb7daa77..1d1ec512 100644 --- a/Src/Notion.Client/Notion.Client.csproj +++ b/Src/Notion.Client/Notion.Client.csproj @@ -11,9 +11,19 @@ notion;client;api;json;sdk;notion.net notion-logo.png LICENSE.md + true + + + true + snupkg + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive +