mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Don't upload artifacts during pull request due to missing VSTS feature (#7588)
This commit is contained in:
+1
-1
@@ -602,7 +602,7 @@ function Invoke-AppveyorFinish
|
||||
{
|
||||
Push-AppveyorArtifact $_
|
||||
}
|
||||
elseif ($env:TF_BUILD) {
|
||||
elseif ($env:TF_BUILD -and $env:BUILD_REASON -ne 'PullRequest') {
|
||||
# In VSTS
|
||||
Write-Host "##vso[artifact.upload containerfolder=artifacts;artifactname=artifacts;]$_"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user