Skip to content

Commit

Permalink
update build pipeline for sourcelink
Browse files Browse the repository at this point in the history
  • Loading branch information
runceel committed Mar 19, 2022
1 parent 1cdb782 commit f442537
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Install dependencies
run: dotnet restore ReactiveProperty.sln
- name: Build
run: dotnet build ReactiveProperty.sln -c Release
run: dotnet build ReactiveProperty.sln -c Release /p:ContinuousIntegrationBuild=True /p:EmbedUntrackedSources=True
- name: Test
run: dotnet test ReactiveProperty.sln --no-restore --verbosity normal
- name: Copy package files
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,4 @@ BuildTools/*.nupkg
project.lock.json
/.vs
UpgradeLog.htm
*.AssemblyAttributes
4 changes: 3 additions & 1 deletion Source/SharedProperties.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,18 @@
<RepositoryType>git</RepositoryType>
<LangVersion>10.0</LangVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<None Include="../../Assets/ReactivePropertyIcon_100x100.png" LinkBase="Assets" Pack="true" PackagePath="/" />
<None Include="../../README.md" Pack="true" PackagePath="/" />
</ItemGroup>
<Target Name="temp" BeforeTargets="BeforeCompile" AfterTargets="GenerateAssemblyInfo"></Target>
</Project>

0 comments on commit f442537

Please sign in to comment.