We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45a6177 commit b97bec6Copy full SHA for b97bec6
src/Serilog.Formatting.Log4Net.csproj
@@ -55,11 +55,12 @@
55
56
<Target Name="ValidateNuGetPackage" AfterTargets="Pack">
57
<Exec Command="dotnet tool restore" />
58
- <Exec Command="dotnet validate package local $(PackageOutputPath)$(PackageId).$(PackageVersion).nupkg" />
+ <Exec Command="dotnet validate package local @(NuGetPackOutput)" Condition="%(NuGetPackOutput.extension) == '.nupkg'" />
59
</Target>
60
61
<Target Name="PrintPackageVersionForGitHubActions" AfterTargets="Pack">
62
<Message Importance="high" Text="::set-output name=version::$(PackageVersion)" />
63
+ <Message Importance="high" Text="::set-output name=nupkg-filename::$(PackageId).$(PackageVersion).nupkg" />
64
65
66
</Project>
0 commit comments