mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
Prevent building artifacts on pull request builds
This commit is contained in:
parent
2cfb63b130
commit
786838a74a
1 changed files with 19 additions and 21 deletions
|
@ -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"
|
||||
}
|
Loading…
Reference in a new issue