From 4d14d8720d7ff3fd838f5e6e7227ff1926293327 Mon Sep 17 00:00:00 2001 From: Arawn Davies Date: Thu, 24 Jun 2021 00:48:25 +0100 Subject: [PATCH] Update appveyor.yml --- appveyor.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index c6b71e2867..54fb1df5ae 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -46,10 +46,10 @@ test_script: on_finish: - ps: | - $tests = 'c:\Cosmos\TestResult.xml' - if (-not(Test-Path -Path $tests -PathType Leaf)) { + $tests = "c:\Cosmos\TestResult.xml" + if ((Test-Path $tests)) { $wc = New-Object 'System.Net.WebClient' - $wc.UploadFile("https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)", $tests) + $wc.UploadFile("https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)", "c:\Cosmos\TestResult.xml") } notifications: