File tree Expand file tree Collapse file tree 5 files changed +17
-17
lines changed
Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 2020 pool : Package ES Lab A
2121
2222 # APIScan can take a long time
23- timeoutInMinutes : 200
23+ timeoutInMinutes : 240
2424
2525 steps :
2626
@@ -61,10 +61,13 @@ jobs:
6161 Send-VstsCommand "vso[task.setvariable variable=Signed]$(Build.SourcesDirectory)\bin\Release\Signed"
6262 displayName: Bootstrap & Build
6363
64- - template : templates/compliance.yml
65- parameters :
66- configuration : Release
67- framework : net461
64+ - task : ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
65+ displayName : ' Component Governance Detection'
66+ inputs :
67+ sourceScanPath : ' $(Build.SourcesDirectory)'
68+ snapshotForceEnabled : true
69+ scanType : ' Register'
70+ failOnAlert : true
6871
6972 # Sign the module files
7073 - task : PkgESCodeSign@10
@@ -152,3 +155,8 @@ jobs:
152155 Write-Host "##vso[artifact.upload containerfolder=PSReadLine;artifactname=PSReadLine]$(PSReadLine)"
153156 Write-Host "##vso[artifact.upload containerfolder=NuGetPackage;artifactname=NuGetPackage]$(NuGetPackage)"
154157 displayName: 'Upload artifacts'
158+
159+ - template : templates/compliance.yml
160+ parameters :
161+ configuration : Release
162+ framework : net461
Original file line number Diff line number Diff line change @@ -74,11 +74,3 @@ steps:
7474 CredScan : true
7575 PoliCheck : true
7676 PoliCheckBreakOn : Severity2Above
77-
78- - task : ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
79- displayName : ' Component Governance Detection'
80- inputs :
81- sourceScanPath : ' $(Build.SourcesDirectory)'
82- snapshotForceEnabled : true
83- scanType : ' Register'
84- failOnAlert : true
Original file line number Diff line number Diff line change 1717 <PackageReference Include =" System.Xml.XDocument" version =" 4.3.0" />
1818 <PackageReference Include =" System.Data.DataSetExtensions" version =" 4.5.0" />
1919 <PackageReference Include =" Microsoft.CSharp" version =" 4.5.0" />
20- <PackageReference Include =" PowerShellStandard.Library" version =" 5.1.0-* " Condition =" '$(TargetFramework)' == 'net461'" />
20+ <PackageReference Include =" PowerShellStandard.Library" version =" 5.1.0" Condition =" '$(TargetFramework)' == 'net461'" />
2121 <PackageReference Include =" Microsoft.PowerShell.SDK" version =" 7.0.3" Condition =" '$(TargetFramework)' == 'netcoreapp3.1'" />
2222 </ItemGroup >
2323
Original file line number Diff line number Diff line change 1717 </PropertyGroup >
1818
1919 <ItemGroup >
20- <PackageReference Include =" PowerShellStandard.Library" version =" 5.1.0-* " />
21- <PackageReference Include =" Microsoft.CSharp" version =" 4.5.0-* " />
20+ <PackageReference Include =" PowerShellStandard.Library" version =" 5.1.0" />
21+ <PackageReference Include =" Microsoft.CSharp" version =" 4.5.0" />
2222 </ItemGroup >
2323 <ItemGroup >
2424 <None Include =" PSReadLine.psd1" CopyToOutputDirectory =" PreserveNewest" />
Original file line number Diff line number Diff line change 2323 <PackageReference Include =" Microsoft.CSharp" version =" 4.5.0" />
2424 <PackageReference Include =" Newtonsoft.Json" Version =" 12.0.3" />
2525 <PackageReference Include =" Microsoft.PowerShell.SDK" Version =" 7.0.3" Condition =" '$(TargetFramework)' == 'netcoreapp3.1'" />
26- <PackageReference Include =" PowerShellStandard.Library" version =" 5.1.0-* " Condition =" '$(TargetFramework)' == 'net461'" />
26+ <PackageReference Include =" PowerShellStandard.Library" version =" 5.1.0" Condition =" '$(TargetFramework)' == 'net461'" />
2727 </ItemGroup >
2828
2929 <ItemGroup >
You can’t perform that action at this time.
0 commit comments