8000 [release/v7.4.0-preview.6] Remove the `ref` folder before running com… · PowerShell/PowerShell@86ae299 · GitHub
[go: up one dir, main page]

8000
Skip to content

Commit 86ae299

Browse files
authored
[release/v7.4.0-preview.6] Remove the ref folder before running compliance (#20373) (#20375)
< E284 pre class="color-fg-muted d-flex flex-items-center">1 parent b5b6204 commit 86ae299

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)
0