File tree 2 files changed +16
-2
lines changed
2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 33
33
uses : actions/upload-artifact@v1
34
34
with :
35
35
name : Notion.Net
36
- path : ./Src/Notion.Client/bin/Release/Notion.Net.${{ github.event.release.tag_name }}.nupkg
36
+ path : |
37
+ ./Src/Notion.Client/bin/Release/Notion.Net.${{ github.event.release.tag_name }}.nupkg
38
+ ./Src/Notion.Client/bin/Release/Notion.Net.${{ github.event.release.tag_name }}.snupkg
37
39
38
40
- name : Publish Nuget Package
39
- run : dotnet nuget push **/*.nupkg --api-key ${{ secrets.nuget_api_key }} --source https://api.nuget.org/v3/index.json --no-symbols true
41
+ run : dotnet nuget push **/*.nupkg --api-key ${{ secrets.nuget_api_key }} --source https://api.nuget.org/v3/index.json
42
+
43
+ - name : Publish Symbol Package
Original file line number Diff line number Diff line change 11
11
<PackageTags >notion;client;api;json;sdk;notion.net</PackageTags >
12
12
<PackageIcon >notion-logo.png</PackageIcon >
13
13
<PackageLicenseFile >LICENSE.md</PackageLicenseFile >
14
+ <PublishRepositoryUrl >true</PublishRepositoryUrl >
15
+
16
+ <!-- Start: Create symbol package-->
17
+ <IncludeSymbols >true</IncludeSymbols >
18
+ <SymbolPackageFormat >snupkg</SymbolPackageFormat >
19
+ <!-- End: Create symbol package-->
14
20
</PropertyGroup >
15
21
16
22
<ItemGroup >
23
+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" >
24
+ <PrivateAssets >all</PrivateAssets >
25
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
26
+ </PackageReference >
17
27
<PackageReference Include =" Newtonsoft.Json" Version =" 13.0.1" />
18
28
<PackageReference Include =" JsonSubTypes" Version =" 1.8.0" />
19
29
</ItemGroup >
You can’t perform that action at this time.
0 commit comments