Skip to content

Commit bdaf644

Browse files
committed
test sign
1 parent 329c8c2 commit bdaf644

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.pipelines/v2/templates/job-build-project.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,14 @@ jobs:
504504
Remove-Item -Force -Recurse "$(JobOutputDirectory)/_appx" -ErrorAction:Ignore
505505
displayName: Re-pack the new CmdPal package after signing
506506
507+
- pwsh: |
508+
$testsPath = "$(Build.SourcesDirectory)/$(BuildPlatform)/$(BuildConfiguration)/tests"
509+
if (Test-Path $testsPath) {
510+
Remove-Item -Path $testsPath -Recurse -Force
511+
Write-Host "Removed tests folder to reduce signing workload: $testsPath"
512+
}
513+
displayName: Remove tests folder before signing
514+
507515
- template: steps-esrp-signing.yml
508516
parameters:
509517
displayName: Sign Core PowerToys

0 commit comments

Comments
 (0)