Skip to content

Commit 555726a

Browse files
committed
syntax.
1 parent 43c7434 commit 555726a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ProjectTemplates/scripts/Test-Template.psm1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ function Test-Template {
123123
Copy-Item -Path "$devRefAssembliesSource/*" -Destination $devRefPackDir -Recurse -Force;
124124
Write-Verbose "Successfully copied dev reference assemblies to $devRefPackDir";
125125
}
126+
if (-not (Check-DiagnosticsDll -Path $artifactsDiagnosticsDll -Description "3) Artifacts Microsoft.AspNetCore.Diagnostics.dll")) {
126127
# Try alternative location
127128
$artifactsDiagnosticsDll2 = "$PSScriptRoot/../../../artifacts/packages/$Configuration/Shipping/Microsoft.AspNetCore.Diagnostics.$TargetFramework.*.nupkg";
128129
$artifactsNupkg = Get-ChildItem $artifactsDiagnosticsDll2 -ErrorAction SilentlyContinue | Select-Object -First 1;
@@ -441,6 +442,7 @@ function Test-Template {
441442
} else {
442443
Write-Warning "Publish binlog not found at $publishBinlogPath";
443444
}
445+
Write-Host "##vso[artifact.upload containerfolder=repo-full;artifactname=repo-full]$PSScriptRoot/../../.."
444446
}
445447
finally {
446448
Pop-Location -StackName TemplateFolder;

0 commit comments

Comments
 (0)