Skip to content

Commit

Permalink
build: remove symbols from package
Browse files Browse the repository at this point in the history
  • Loading branch information
sandre58 committed May 2, 2024
1 parent 1e81cb5 commit 417b6b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,4 @@ jobs:
with:
filename: 'Artifacts/*.nupkg'
feedUrl: ${{ vars.PRIVATE_NUGET_API_SOURCE }}
apiKey: ${{ secrets.PRIVATE_NUGET_API_KEY }}

# publish artifacts (symbols)
- name: Publish NuGets symbols
uses: dansiegel/publish-nuget@master # https://github.com/marketplace/actions/publish-nuget-packages
with:
filename: 'Artifacts/*.snupkg'
feedUrl: ${{ vars.PRIVATE_NUGET_API_SOURCE }}
apiKey: ${{ secrets.PRIVATE_NUGET_API_KEY }}
8 changes: 0 additions & 8 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,4 @@ jobs:
with:
filename: 'Artifacts/*.nupkg'
feedUrl: ${{ vars.NUGET_API_SOURCE }}
apiKey: ${{ secrets.NUGET_API_KEY }}

# publish artifacts (symbols)
- name: Publish NuGets symbols
uses: dansiegel/publish-nuget@master # https://github.com/marketplace/actions/publish-nuget-packages
with:
filename: 'Artifacts/*.snupkg'
feedUrl: ${{ vars.NUGET_API_SOURCE }}
apiKey: ${{ secrets.NUGET_API_KEY }}
8 changes: 4 additions & 4 deletions src/Directory.build.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
<IsTestProject>$(MSBuildProjectName.Contains('UnitTests'))</IsTestProject>
<GenerateDocumentationFile Condition=" '$(Configuration)' == 'Release' ">true</GenerateDocumentationFile>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>True</IncludeSource>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<DeterministicSourcePaths Condition="'$(EnableSourceLink)' == ''">false</DeterministicSourcePaths>
</PropertyGroup>

<!-- Package -->
<PropertyGroup>
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>True</IncludeSource>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<GeneratePackageOnBuild Condition=" '$(IsTestProject)' != 'true' And '$(Configuration)'=='Release'">true</GeneratePackageOnBuild>
<RepositoryUrl>https://github.com/sandre58/MyNetHumanizer</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand All @@ -50,7 +50,7 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb;.xml</AllowedOutputExtensionsInPackageBuildOutputFolder>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.xml</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>

<PropertyGroup Condition="$(IsTestProject)">
Expand Down

0 comments on commit 417b6b9

Please sign in to comment.