From bb6afcd24f1bf39e1bb3df9a0d5964eb5c05f7aa Mon Sep 17 00:00:00 2001 From: Vedant Koditkar Date: Sat, 14 Aug 2021 14:02:46 +0530 Subject: [PATCH 1/3] Add support for Support Link :sparkles: --- Src/Notion.Client/Notion.Client.csproj | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Src/Notion.Client/Notion.Client.csproj b/Src/Notion.Client/Notion.Client.csproj index eb7daa77..0049bbde 100644 --- a/Src/Notion.Client/Notion.Client.csproj +++ b/Src/Notion.Client/Notion.Client.csproj @@ -11,9 +11,14 @@ notion;client;api;json;sdk;notion.net notion-logo.png LICENSE.md + true + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + From 3a67f1e2b0c80fa3fd12a6f5ac721fb9cdbfa3bf Mon Sep 17 00:00:00 2001 From: Vedant Koditkar Date: Sat, 14 Aug 2021 14:41:53 +0530 Subject: [PATCH 2/3] Update csproj to build symbol files on nuget pack --- Src/Notion.Client/Notion.Client.csproj | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Src/Notion.Client/Notion.Client.csproj b/Src/Notion.Client/Notion.Client.csproj index 0049bbde..1d1ec512 100644 --- a/Src/Notion.Client/Notion.Client.csproj +++ b/Src/Notion.Client/Notion.Client.csproj @@ -12,6 +12,11 @@ notion-logo.png LICENSE.md true + + + true + snupkg + From 49fd4f805987b71563735bcf06e5f3fcf687d1a0 Mon Sep 17 00:00:00 2001 From: Vedant Koditkar Date: Sat, 14 Aug 2021 14:46:22 +0530 Subject: [PATCH 3/3] Update release pipeline to publish snupkg :construction_worker: --- .github/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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