mirror of
https://github.com/netdata/netdata.git
synced 2025-04-03 04:55:33 +00:00
ci: fix win build (#19642)
* ci: fix win build * fix wix ext syntax * use variable for wix version
This commit is contained in:
parent
bca67f21c4
commit
997f2a71f4
1 changed files with 5 additions and 3 deletions
|
@ -83,8 +83,10 @@ if ($LastExitcode -ne 0) {
|
|||
}
|
||||
}
|
||||
|
||||
$wixVersion = "5.0.2"
|
||||
|
||||
Write-Host "Installing WiX toolset"
|
||||
dotnet tool install -g wix
|
||||
dotnet tool install -g wix --version $wixVersion
|
||||
|
||||
if ($LastExitcode -ne 0) {
|
||||
exit 1
|
||||
|
@ -92,13 +94,13 @@ if ($LastExitcode -ne 0) {
|
|||
|
||||
Write-Host "Adding WiX extensions"
|
||||
|
||||
wix extension -g add WixToolset.Util.wixext
|
||||
wix extension -g add WixToolset.Util.wixext/$wixVersion
|
||||
|
||||
if ($LastExitcode -ne 0) {
|
||||
exit 1
|
||||
}
|
||||
|
||||
wix extension -g add WixToolset.UI.wixext
|
||||
wix extension -g add WixToolset.UI.wixext/$wixVersion
|
||||
|
||||
if ($LastExitcode -ne 0) {
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Reference in a new issue