Skip to content

Commit 78e077c

Browse files
committed
Ignore NU1902
1 parent d901cd2 commit 78e077c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# NuGetAudit is intentionally not disabled here like it is for other CI builds, because we need to address any
4444
# vulnerable packages before releasing a new version.
4545
run: |
46-
dotnet build -c Release -warnaserror /p:TreatWarningsAsErrors=false /p:RunAnalyzers=true -p:Version=${{ steps.get_version.outputs.VERSION }}
46+
dotnet build -c Release -warnaserror /p:TreatWarningsAsErrors=true /p:RunAnalyzers=true /p:NoWarn=NU1902 -p:Version=${{ steps.get_version.outputs.VERSION }}
4747
- name: Unit Tests
4848
run: |
4949
dotnet test -c Release --no-build ./test/OrchardCore.Tests/OrchardCore.Tests.csproj

0 commit comments

Comments
 (0)