mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
Merge pull request #16193 from neovim/backport-16191-to-release-0.5
ci(win): only remove choco's cpack.exe if it exists
This commit is contained in:
commit
b69ceaa2e8
@ -171,7 +171,9 @@ if (-not $NoTests) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Ensure choco's cpack is not in PATH otherwise, it conflicts with CMake's
|
# Ensure choco's cpack is not in PATH otherwise, it conflicts with CMake's
|
||||||
|
if (Test-Path -Path $env:ChocolateyInstall\bin\cpack.exe) {
|
||||||
Remove-Item -Path $env:ChocolateyInstall\bin\cpack.exe -Force
|
Remove-Item -Path $env:ChocolateyInstall\bin\cpack.exe -Force
|
||||||
|
}
|
||||||
|
|
||||||
# Build artifacts
|
# Build artifacts
|
||||||
cpack -G ZIP -C RelWithDebInfo
|
cpack -G ZIP -C RelWithDebInfo
|
||||||
|
Loading…
Reference in New Issue
Block a user