Fix winget package not deploying

- Provide .msi for `push_manifest.ps1`

Fixes #1640
This commit is contained in:
Jordan Dominion
2023-08-25 11:23:44 -04:00
parent 5aa01d340f
commit f1317ab987
2 changed files with 13 additions and 1 deletions
+12
View File
@@ -1508,6 +1508,12 @@ jobs:
$tgsVersion = $versionXML.Project.PropertyGroup.TgsCoreVersion
echo "TGS_VERSION=$tgsVersion" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
- name: Upload .msi
uses: actions/upload-artifact@v3
with:
name: packaging-windows-raw-msi
path: build/package/winget/Tgstation.Server.Host.Service.Wix/bin/x86/Release/en-US/tgstation-server.msi
- name: Retrieve Server Service
uses: actions/download-artifact@v3
with:
@@ -1722,6 +1728,12 @@ jobs:
$Env:TGS_HOST_NO_WEBPANEL=true
dotnet build -c Release tools/Tgstation.Server.ReleaseNotes
- name: Retrieve Server Service
uses: actions/download-artifact@v3
with:
name: packaging-windows-raw-msi
path: artifacts
- name: Execute Push Script
shell: powershell
run: build/package/winget/push_manifest.ps1
+1 -1
View File
@@ -15,6 +15,7 @@ try
}
$installerHash = Get-FileHash -Path "artifacts/tgstation-server-installer.exe" -ErrorAction Stop # SHA256 is the default
$msiPath = [System.IO.Path]::Combine($pwd, "artifacts/tgstation-server.msi").Replace("/", "\");
Push-Location build/package/winget
try
@@ -24,7 +25,6 @@ try
$devReleaseDate = '2023-06-24'
$devProductCode = "{D24887FA-3228-4509-B5F3-4E07E349F278}"
$msiPath = [System.IO.Path]::Combine($pwd, "Tgstation.Server.Host.Service.Wix/bin/x86/Release/en-US/tgstation-server.msi").Replace("/", "\");
Set-Location manifest
Convert-Path -ErrorAction Stop -LiteralPath $msiPath
$windowsInstaller = New-Object -ComObject WindowsInstaller.Installer