ci(windows): config and build before publish step (#19416)

Problem: Windows package step failed (silently).
Solution: Make sure to configure cmake before attempting to build the package target.
This commit is contained in:
kylo252
2022-07-18 15:18:15 +02:00
committed by GitHub
parent 1b462705d0
commit d15a66d803
2 changed files with 7 additions and 3 deletions

View File

@@ -134,7 +134,8 @@ function TestOld {
function Package {
cmake --build $buildDir --target package
cmake -S $projectDir -B $buildDir $(convertToCmakeArgs($nvimCmakeVars)) -G Ninja; exitIfFailed
cmake --build $buildDir --target package; exitIfFailed
}
if ($PSCmdlet.ParameterSetName) {