Skip to content

Commit 6e2456a

Browse files
committed
Disable audit via build props
1 parent e19c23d commit 6e2456a

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
with:
2929
dotnet-version: 8.x
3030

31+
- name: Disable Audit
32+
run: ./prebuild.ps1
33+
3134
- name: Setup DocFX
3235
run: dotnet tool restore
3336

Bonsai.build.props

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<Project>
2+
<Import Project="tooling/Common.props" />
3+
<Import Project="tooling/Common$(MSBuildProjectExtension).props" Condition="Exists('tooling/Common$(MSBuildProjectExtension).props')"/>
4+
<PropertyGroup>
5+
<NuGetAudit>false</NuGetAudit>
6+
</PropertyGroup>
7+
</Project>

prebuild.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Copy-Item -Path .\Bonsai.build.props -Destination .\src\bonsai\Directory.Build.props -Force

0 commit comments

Comments
 (0)