Skip to content

Commit d0d2636

Browse files
filzrevp-kostov
authored andcommitted
chore: Fix nightly build errors (dotnet#9920)
1 parent 26d8fa6 commit d0d2636

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: dotnet test -c Release -f net9.0 --no-build
3434

3535
- name: dotnet pack
36-
run: dotnet pack -c Release /p:Version=${{ steps.version.outputs.version }} -o drop/nuget
36+
run: dotnet pack -c Release /p:Version=${{ steps.version.outputs.version }} /p:ApiCompatGenerateSuppressionFile=true -o drop/nuget
3737

3838
- name: dotnet nuget push
3939
run: |

Directory.Build.props

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717
<!--
1818
Suppress warnings similar to the following:
1919
warning NU1507: There are 2 package sources defined in your configuration.
20+
warning NU5104: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "PdfPig [0.1.9-alpha-20240510-d86c2, )" or update the version field in the nuspec.
21+
warning NU5111: The script file 'tools\.playwright\package\bin\install_media_pack.ps1' is not recognized by NuGet and hence will not be executed during installation of this package.
2022
warning CS0436: IgnoresAccessChecksTo redefinition due to InternalsVisibleTo
2123
-->
22-
<NoWarn>$(NoWarn);NU1507;CS0436</NoWarn>
24+
<NoWarn>$(NoWarn);NU1507;NU5104;NU5111;CS0436</NoWarn>
2325
</PropertyGroup>
2426

2527
<PropertyGroup>

0 commit comments

Comments
 (0)