Prevent building artifacts on pull request builds

This commit is contained in:
Charles Milette 2018-03-19 14:45:36 -04:00
parent 2cfb63b130
commit 786838a74a
No known key found for this signature in database
GPG key ID: 9BC74CC51CB137CE

View file

@ -1,3 +1,5 @@
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)
{
if ($env:APPVEYOR_REPO_TAG -eq $true)
{
if ($env:CONFIGURATION -eq "Steam")
@ -21,8 +23,4 @@ elseif ($env:CONFIGURATION -eq "WindowsStore")
{
& "ShareX.Setup\bin\WindowsStore\ShareX.Setup.exe" -AppVeyorWindowsStore
}
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -ne $null)
{
Remove-Item -Recurse -Force "Output"
}