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
@@ -62,10 +62,13 @@ jobs:
6262 Send-VstsCommand "vso[task.setvariable variable=Signed]$(Build.SourcesDirectory)\bin\Release\Signed"
6363 displayName: Bootstrap & Build
6464
65- - template : templates/compliance.yml
66- parameters :
67- configuration : Release
68- framework : net461
65+ - task : ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
66+ displayName : ' Component Governance Detection'
67+ inputs :
68+ sourceScanPath : ' $(Build.SourcesDirectory)'
69+ snapshotForceEnabled : true
70+ scanType : ' Register'
71+ failOnAlert : true
6972
7073 # Sign the module files
7174 - task : PkgESCodeSign@10
@@ -153,3 +156,8 @@ jobs:
153156 Write-Host "##vso[artifact.upload containerfolder=PSReadLine;artifactname=PSReadLine]$(PSReadLine)"
154157 Write-Host "##vso[artifact.upload containerfolder=NuGetPackage;artifactname=NuGetPackage]$(NuGetPackage)"
155158 displayName: 'Upload artifacts'
159+
160+ - template : templates/compliance.yml
161+ parameters :
162+ configuration : Release
163+ 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