Skip to content

Commit c9f3358

Browse files
committed
Added SourceLink support
1 parent dd76d9e commit c9f3358

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ jobs:
2626
- name: Restore dependencies
2727
run: dotnet restore
2828
- name: Build
29-
run: dotnet build --no-restore -c Release
29+
run: dotnet build --no-restore -c Release /p:ContinuousIntegrationBuild=true
3030
- name: Test
3131
run: dotnet test -c Release --no-build

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ All notable changes to **ValueStringBuilder** will be documented in this file. T
66

77
## [Unreleased]
88

9+
### Added
10+
- Added SourceLink so that pdbs are delivered as well
11+
912
## [1.11.3] - 2023-01-03
1013

1114
### Changed

LinkDotNet.StringBuilder.sln

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".text", ".text", "{DA9229AB
1616
CHANGELOG.md = CHANGELOG.md
1717
EndProjectSection
1818
EndProject
19+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".workflows", ".workflows", "{566632A6-CBCF-4ED2-88E9-4AD109278C20}"
20+
ProjectSection(SolutionItems) = preProject
21+
.github\workflows\dotnet.yml = .github\workflows\dotnet.yml
22+
.github\workflows\codeql.yml = .github\workflows\codeql.yml
23+
.github\workflows\docs.yml = .github\workflows\docs.yml
24+
.github\workflows\create-release.yml = .github\workflows\create-release.yml
25+
.github\workflows\update-release.yml = .github\workflows\update-release.yml
26+
.github\dependabot.yml = .github\dependabot.yml
27+
EndProjectSection
28+
EndProject
1929
Global
2030
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2131
Debug|Any CPU = Debug|Any CPU

src/LinkDotNet.StringBuilder/LinkDotNet.StringBuilder.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<PackageIconUrl>https://github.com/linkdotnet/StringBuilder/blob/main/logo.png</PackageIconUrl>
1919
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2020
<LangVersion>preview</LangVersion>
21+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
2122
</PropertyGroup>
2223

2324
<ItemGroup>
@@ -43,6 +44,10 @@
4344
<PrivateAssets>all</PrivateAssets>
4445
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4546
</PackageReference>
47+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
48+
<PrivateAssets>all</PrivateAssets>
49+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
50+
</PackageReference>
4651
</ItemGroup>
4752

4853
</Project>

0 commit comments

Comments
 (0)