File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,6 @@ extends:
5959 enabled : true
6060 tsa :
6161 enabled : true
62- binskim :
63- analyzeTargetGlob : +:f|**\*.dll;+:f|**\*.exe;
6462 stages :
6563 - stage : build
6664 displayName : Build
@@ -89,6 +87,14 @@ extends:
8987 enableInternalSources : true
9088 enableTelemetry : true
9189 helixRepo : dotnet/templating
90+ templateContext :
91+ sdl :
92+ binskim :
93+ analyzeTargetGlob : +:f|artifacts\bin\**\*.dll;+:f|artifacts\bin\**\*.exe;
94+ # WORKAROUND: BinSkim requires the folder exist prior to scanning.
95+ preSteps :
96+ - powershell : New-Item -ItemType Directory -Path $(Build.SourcesDirectory)/artifacts/bin -Force
97+ displayName : Create artifacts/bin directory
9298 jobs :
9399 - ${{ each config in parameters.buildConfigurations }} :
94100 - job : Windows_NT_${{ config.buildConfig }}
You can’t perform that action at this time.
0 commit comments