Skip to content

Commit

Permalink
ci: fix nuget build
Browse files Browse the repository at this point in the history
  • Loading branch information
egil committed May 19, 2023
1 parent 1a24b4f commit 9aa19eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
# If some rules are not applicable, you can disable them
# using the --excluded-rules or --excluded-rule-ids option
- name: Validate package
run: meziantou.validate-nuget-package (Get-ChildItem "${{ env.NuGetDirectory }}/*.nupkg")
run: meziantou.validate-nuget-package (Get-ChildItem "${{ env.NuGetDirectory }}/*.nupkg") --excluded-rules IconMustBeSet

run_test:
runs-on: ubuntu-latest
Expand Down
7 changes: 1 addition & 6 deletions src/TimeProviderExtensions/TimeProviderExtensions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReleaseNotes>Release notes: https://github.com/egil/TimeProviderExtensions/blob/main/CHANGELOG.md</PackageReleaseNotes>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<MinVerTagPrefix>v</MinVerTagPrefix>
</PropertyGroup>
Expand All @@ -33,10 +32,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>

<!-- Used by code coverage -->
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
<DebugType>embedded</DebugType>
</PropertyGroup>

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

0 comments on commit 9aa19eb

Please sign in to comment.