Skip to content

Commit 9aa19eb

Browse files
committed
ci: fix nuget build
1 parent 1a24b4f commit 9aa19eb

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
# If some rules are not applicable, you can disable them
7373
# using the --excluded-rules or --excluded-rule-ids option
7474
- name: Validate package
75-
run: meziantou.validate-nuget-package (Get-ChildItem "${{ env.NuGetDirectory }}/*.nupkg")
75+
run: meziantou.validate-nuget-package (Get-ChildItem "${{ env.NuGetDirectory }}/*.nupkg") --excluded-rules IconMustBeSet
7676

7777
run_test:
7878
runs-on: ubuntu-latest

src/TimeProviderExtensions/TimeProviderExtensions.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1818
<PackageReleaseNotes>Release notes: https://github.com/egil/TimeProviderExtensions/blob/main/CHANGELOG.md</PackageReleaseNotes>
1919
<PublishRepositoryUrl>true</PublishRepositoryUrl>
20-
<IncludeSymbols>true</IncludeSymbols>
2120
<EmbedUntrackedSources>true</EmbedUntrackedSources>
2221
<MinVerTagPrefix>v</MinVerTagPrefix>
2322
</PropertyGroup>
@@ -33,10 +32,7 @@
3332
<ImplicitUsings>enable</ImplicitUsings>
3433
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3534
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
36-
37-
<!-- Used by code coverage -->
38-
<DebugType>full</DebugType>
39-
<DebugSymbols>true</DebugSymbols>
35+
<DebugType>embedded</DebugType>
4036
</PropertyGroup>
4137

4238
<PropertyGroup Label="Analyzer settings">
@@ -52,7 +48,6 @@
5248
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
5349
<PrivateAssets>all</PrivateAssets>
5450
</PackageReference>
55-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
5651
<PackageReference Include="MinVer" Version="4.3.0" PrivateAssets="All" />
5752
<PackageReference Include="Microsoft.Bcl.TimeProvider" Version="8.0.0-preview.*" />
5853
</ItemGroup>

0 commit comments

Comments
 (0)