Skip to content

Commit

Permalink
ci: add additional logging output
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Jun 9, 2023
1 parent 6d114a7 commit 6ab78e0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions build/consolidate-artifacts.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,19 @@ foreach($file in $files)
}
elseif ($file -like "*.dll" -or $file -like "*.pdb" -or $file -like "*.xml" -or $file -like "*.pri")
{
$parentDirName = Split-Path -Path (Split-Path -Path $file -Parent) -Leaf

if($parentDirName -like ($platforms -join '|') -or $parentDirName -like 'Core')
if($file.FullName-like ($platforms -join '|') -or $file.FullName -like 'Core')
{
continue
}

Write-Output "Getting TFM Directory Name for $($file.FullName)"
$parentDirName = Split-Path -Path (Split-Path -Path $file -Parent) -Leaf

Write-Output "Determining Copy Path for $parentDirName"
$copyPath = Join-Path $binariesRoot -ChildPath $parentDirName

if((Test-Path -Path $copyPath -PathType Container) -eq $false) {
if ((Test-Path -Path $copyPath -PathType Container) -eq $false)
{
Write-Output "Creating $copyPath"
New-Item -Path $copyPath -ItemType Directory -Force > $null
}
Expand Down

0 comments on commit 6ab78e0

Please sign in to comment.