🌐 AI搜索 & 代理 主页
Skip to content

Commit cbafe1e

Browse files
committed
Allow private env:var to force conda build
To trigger conda build, just add/update private env:vars FORCE_CONDA_BUILD on link below. Easier to debug and no need to edit appveyor yml/ps1 https://ci.appveyor.com/project/USER_NAME/pythonnet/settings/environment
1 parent 5e27c67 commit cbafe1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/appveyor_build_recipe.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if ($env:PLATFORM -eq "x86"){
1111
$env:CONDA_BLD = "$env:CONDA_BLD" + "-x64"
1212
}
1313

14-
if ($env:APPVEYOR_PULL_REQUEST_NUMBER) {
14+
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -or $env:FORCE_CONDA_BUILD -eq "True") {
1515
# Update PATH, and keep a copy to restore at end of this PowerShell script
1616
$old_path = $env:path
1717
$env:path = "$env:CONDA_BLD;$env:CONDA_BLD\Scripts;" + $env:path

0 commit comments

Comments
 (0)