0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-03 04:55:33 +00:00

ci: fix win build ()

* ci: fix win build

* fix wix ext syntax

* use variable for wix version
This commit is contained in:
Ilya Mashchenko 2025-02-13 18:00:10 +02:00 committed by GitHub
parent bca67f21c4
commit 997f2a71f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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