mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-22 05:22:53 +01:00
Fix winget package not deploying
- Provide .msi for `push_manifest.ps1` Fixes #1640
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user