Skip to content

Commit

Permalink
Updated for SourceLink.
Browse files Browse the repository at this point in the history
  • Loading branch information
DJGosnell committed Apr 13, 2022
1 parent 49da614 commit 5d4a87b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
name: "DtronixPdf ${{ steps.tagName.outputs.tag }} Released"
files: artifacts/*.nupkg
files: |
artifacts/*.nupkg
artifacts/*.snupkg
- name: Push Nuget packages
if: startsWith(github.ref, 'refs/tags/')
Expand Down
11 changes: 10 additions & 1 deletion src/DtronixPdf/DtronixPdf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,17 @@
<TargetFramework>net5.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.0.1</Version>
<Version>1.0.1.1</Version>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>DtronixPdf.Tests</_Parameter1>
Expand Down

0 comments on commit 5d4a87b

Please sign in to comment.