ci: do not run WOA builds on older versions of Electron (#20118)

This commit is contained in:
trop[bot]
2019-09-04 16:20:04 -07:00
committed by Shelley Vohr
parent 4e4c7527c6
commit 9b5f40c973

View File

@@ -32,6 +32,9 @@ environment:
ELECTRON_OUT_DIR: Default
build_script:
- ps: >-
if($env:APPVEYOR_PROJECT_NAME -eq "electron-woa-testing") {
Write-warning "WOA builds not supported on older versions of Electron"; Exit-AppveyorBuild
}
if(($env:APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME -split "/")[0] -eq ($env:APPVEYOR_REPO_NAME -split "/")[0]) {
Write-warning "Skipping PR build for branch"; Exit-AppveyorBuild
}