Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions tools/ci.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -512,10 +512,10 @@ function Invoke-AppveyorFinish
$artifacts = New-Object System.Collections.ArrayList
foreach ($package in $packages) {
if (Test-Path $package)
{
Write-Log "Package found: $package"
{
Write-Log "Package found: $package"
}
else
else
{
Write-Warning -Message "Package NOT found: $package"
}
Expand Down Expand Up @@ -764,13 +764,13 @@ function Invoke-LinuxTests
# 1 - It's a Daily build (already checked, for not a PR)
# 2 - We have the info to publish (NUGET_KEY and NUGET_URL)
# 3 - it's a nupkg file
if($isDailyBuild -and $NugetKey -and $env:NUGET_URL -and [system.io.path]::GetExtension($package) -ieq '.nupkg')
if($isFullBuild -and $NugetKey -and $env:NUGET_URL -and [system.io.path]::GetExtension($package) -ieq '.nupkg')
{
Write-Log "pushing $package to $env:NUGET_URL"
Start-NativeExecution -sb {dotnet nuget push $package --api-key $NugetKey --source "$env:NUGET_URL/api/v2/package"} -IgnoreExitcode
}

if($isDailyBuild)
if($isFullBuild)
{
if ($package -isnot [System.IO.FileInfo])
{
Expand All @@ -795,7 +795,7 @@ function Invoke-LinuxTests
Copy-Item $armPackage -Destination "${env:BUILD_ARTIFACTSTAGINGDIRECTORY}" -Force
}

if ($isDailyBuild)
if ($isFullBuild)
{
New-TestPackage -Destination "${env:SYSTEM_ARTIFACTSDIRECTORY}"
}
Expand Down