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

This commit is contained in:
John Kleinschmidt
2019-09-04 17:23:27 -04:00
committed by GitHub
parent 24f454557d
commit 9192c85b10

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
}