Skip to content

Commit 17f727d

Browse files
committed
IncludeSymbols
1 parent 7c5e59f commit 17f727d

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/nuget.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
uses: actions/setup-dotnet@v1
1919
with:
2020
dotnet-version: 6.0.x
21-
21+
2222
- name: Restore dependencies
2323
run: dotnet restore
2424
- name: Build
2525
run: dotnet build --configuration Release
2626
- name: Pack
27-
run: dotnet pack --configuration Release
27+
run: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --configuration Release
2828

2929
- name: publish nuget packages
3030
run: |

Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
2020
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
2121
</PropertyGroup>
22+
<PropertyGroup>
23+
<IncludeSymbols>true</IncludeSymbols>
24+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
25+
</PropertyGroup>
2226
<ItemGroup>
2327
<None Include="$(SolutionDir)\logo.png" Pack="true" Visible="false" PackagePath="\"/>
2428
<None Include="$(SolutionDir)\README.md" Pack="true" Visible="false" PackagePath="\"/>

0 commit comments

Comments
 (0)