[CI] Fix github.glue not to fail on a remove. (#14360)

This commit is contained in:
Manuel de la Pena 2022-03-10 16:41:42 -05:00 коммит произвёл GitHub
Родитель 23c8620af0
Коммит 45dca51dfc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -118,7 +118,7 @@ steps:
Get-ChildItem $destinationRoot -Recurse -Force -Directory |
Sort-Object -Property FullName -Descending |
Where-Object { $($_ | Get-ChildItem -Force | Select-Object -First 1).Count -eq 0 } |
Remove-Item -Verbose
try { Remove-Item -Verbose } catch { $null }
if ($Env:SYSTEM_DEBUG) {
Get-ChildItem $destinationRoot -Recurse