[release/v7.2.18] Remove the ref folder before running compliance

This commit is contained in:
Dongbo Wang
2024-01-09 10:50:35 -08:00
committed by GitHub
parent 4a79b04384
commit e8e8bc7ddc
@@ -59,6 +59,11 @@ jobs:
$OutputFolder = Split-Path (Get-PSOutput)
Write-Host "##vso[task.setvariable variable=BinDir]$OutputFolder"
Write-Verbose -Verbose -Message "Deleting ref folder from output folder"
if (Test-Path $OutputFolder/ref) {
Remove-Item -Recurse -Force $OutputFolder/ref
}
workingDirectory: '$(Build.SourcesDirectory)'
displayName: 'Build PowerShell Source'