From 9301b504e2a5b1ea7d429f53be767a010106ba81 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sun, 25 Jun 2023 23:00:16 -0400 Subject: [PATCH] Fix paths in Windows CI test --- .github/workflows/ci-suite.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-suite.yml b/.github/workflows/ci-suite.yml index 6b3e620209..133fdaca01 100644 --- a/.github/workflows/ci-suite.yml +++ b/.github/workflows/ci-suite.yml @@ -975,15 +975,15 @@ jobs: - name: Test Install and Uninstall # Sanity checks the .deps.json exists, which the installation is broken without shell: powershell # If it's missing, I found that in elements were the problem run: | - $file = "packaging/build/package/winget/Tgstation.Server.Host.Service.Msi/Release/tgstation-server.msi" - $log = "install.log" + $file = [System.IO.Path]::GetFullPath("packaging/build/package/winget/Tgstation.Server.Host.Service.Msi/Release/tgstation-server.msi") + $log = [System.IO.Path]::GetFullPath("install.log") $procMain = Start-Process "msiexec" "/i `"$file`" /qn /l*! `"$log`"" -NoNewWindow -PassThru $procLog = Start-Process "powershell" "Get-Content -Path `"$log`" -Wait" -NoNewWindow -PassThru $procMain.WaitForExit() $procLog.Kill() Get-Content C:/Program Files (x86)/tgstation/tgstation-server/lib/Default/Tgstation.Server.Host.deps.json Get-Service -Name tgstation-server -ErrorAction SilentlyContinue - $log = "uninstall.log" + $log = [System.IO.Path]::GetFullPath("uninstall.log") $procMain = Start-Process "msiexec" "/u `"$file`" /qn /l*! `"$log`"" -NoNewWindow -PassThru $procLog = Start-Process "powershell" "Get-Content -Path `"$log`" -Wait" -NoNewWindow -PassThru $procMain.WaitForExit()