Skip to content

Commit

Permalink
IncludeSymbols
Browse files Browse the repository at this point in the history
  • Loading branch information
KSemenenko committed Sep 5, 2022
1 parent 7c5e59f commit 17f727d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nuget.yml
Expand Up @@ -18,13 +18,13 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x

- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release
- name: Pack
run: dotnet pack --configuration Release
run: dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --configuration Release

- name: publish nuget packages
run: |
Expand Down
4 changes: 4 additions & 0 deletions Directory.Build.props
Expand Up @@ -19,6 +19,10 @@
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<PropertyGroup>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup>
<None Include="$(SolutionDir)\logo.png" Pack="true" Visible="false" PackagePath="\"/>
<None Include="$(SolutionDir)\README.md" Pack="true" Visible="false" PackagePath="\"/>
Expand Down

0 comments on commit 17f727d

Please sign in to comment.