ci(windows): build MSI by default; install dotnet-sdk for WiX 4, report signing status of build artifacts
This commit is contained in:
@@ -47,14 +47,18 @@ if (-not (Get-Command choco -ErrorAction SilentlyContinue)) {
|
||||
}
|
||||
|
||||
Write-Host '==> Installing base packages'
|
||||
# nodejs-lts: act_runner needs node to execute JavaScript actions.
|
||||
# powershell-core: workflows commonly use `shell: pwsh` (PS 7), not the OS's PS 5.1.
|
||||
choco install -y --no-progress git python311 nuget.commandline 7zip cmake ninja nodejs-lts powershell-core
|
||||
# nodejs-lts: act_runner needs node to execute JavaScript actions.
|
||||
# powershell-core: workflows use `shell: pwsh` (PS 7), not the OS's PS 5.1.
|
||||
# dotnet-sdk: required for WiX 4 SDK-style projects (.wixproj) used by the MSI build.
|
||||
choco install -y --no-progress `
|
||||
git python311 nuget.commandline 7zip cmake ninja `
|
||||
nodejs-lts powershell-core dotnet-sdk
|
||||
Add-MachinePath 'C:\Program Files\Git\cmd'
|
||||
Add-MachinePath 'C:\Python311'
|
||||
Add-MachinePath 'C:\Python311\Scripts'
|
||||
Add-MachinePath 'C:\Program Files\nodejs'
|
||||
Add-MachinePath 'C:\Program Files\PowerShell\7'
|
||||
Add-MachinePath 'C:\Program Files\dotnet'
|
||||
|
||||
# --- 2. Visual Studio 2022 Build Tools (MSVC v143 + Win10 SDK) ---
|
||||
$vsInstaller = "$env:ProgramFiles(x86)\Microsoft Visual Studio\Installer\vswhere.exe"
|
||||
|
||||
Reference in New Issue
Block a user