Closed bellrichm closed 2 years ago
These use secure variables which are not supported on pull requests See, https://help.appveyor.com/discussions/problems/31999-possible-problem-with-environment-section-in-yml
Example of checking if pull request if (-not (Test-Path env:APPVEYOR_PULL_REQUEST_NUMBER)) { Write-Output "This is NOT a pull request build" } else { Write-Output "This is a pull request build" }
These use secure variables which are not supported on pull requests See, https://help.appveyor.com/discussions/problems/31999-possible-problem-with-environment-section-in-yml
Example of checking if pull request if (-not (Test-Path env:APPVEYOR_PULL_REQUEST_NUMBER)) { Write-Output "This is NOT a pull request build" } else { Write-Output "This is a pull request build" }