Skip to content

Commit e8e8bc7

Browse files
authored
[release/v7.2.18] Remove the ref folder before running compliance
1 parent 4a79b04 commit e8e8bc7

File tree

1 file changed

+5
-0
lines changed
  • tools/releaseBuild/azureDevOps/templates/compliance

1 file changed

+5
-0
lines changed

tools/releaseBuild/azureDevOps/templates/compliance/apiscan.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ jobs:
5959
6060
$OutputFolder = Split-Path (Get-PSOutput)
6161
Write-Host "##vso[task.setvariable variable=BinDir]$OutputFolder"
62+
63+
Write-Verbose -Verbose -Message "Deleting ref folder from output folder"
64+
if (Test-Path $OutputFolder/ref) {
65+
Remove-Item -Recurse -Force $OutputFolder/ref
66+
}
6267
workingDirectory: '$(Build.SourcesDirectory)'
6368
displayName: 'Build PowerShell Source'
6469

0 commit comments

Comments
 (0)