ci: make sure choco cpack does not interfere with CMake cpack
[skip ci]
This commit is contained in:
parent
c819ce1fd4
commit
c84b86fe3d
|
@ -170,6 +170,9 @@ if (-not $NoTests) {
|
|||
}
|
||||
}
|
||||
|
||||
# Ensure choco's cpack is not in PATH otherwise, it conflicts with CMake's
|
||||
Remove-Item -Path $env:ChocolateyInstall\bin\cpack.exe -Force
|
||||
|
||||
# Build artifacts
|
||||
cpack -G ZIP -C RelWithDebInfo
|
||||
if ($env:APPVEYOR_REPO_TAG_NAME -ne $null) {
|
||||
|
|
Loading…
Reference in New Issue