File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Push-Location $PSScriptRoot/..
22
22
try
23
23
{
24
24
$tfm = ' net7.0-'
25
- $arch = $ (uname - m) -eq ' arm64' ? ' arm64' : ' x64'
25
+ $arch = ( ! $IsWindows -and $ (uname - m) -eq ' arm64' ) ? ' arm64' : ' x64'
26
26
if ($Platform -eq ' android' )
27
27
{
28
28
$tfm += ' android'
75
75
}
76
76
finally
77
77
{
78
- scripts/ parse- xunit2- xml.ps1 ./ test_output/ TestResults.xml | Out-File $env: GITHUB_STEP_SUMMARY
78
+ if ($CI )
79
+ {
80
+ scripts/ parse- xunit2- xml.ps1 (Get-Item ./ test_output/* .xml).FullName | Out-File $env: GITHUB_STEP_SUMMARY
81
+ }
82
+
79
83
}
80
84
}
81
85
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Set-StrictMode -Version Latest
4
4
5
5
if ([string ]::IsNullOrEmpty($File ) -or ! (Test-Path ($File )))
6
6
{
7
- Write-Warning " Test output file was not found."
7
+ Write-Warning " Test output file was not found: ' $File ' ."
8
8
9
9
# Return success exit code so that GitHub Actions highlights the failure in the test run, rather than in this script.
10
10
return
You can’t perform that action at this time.
0 commit comments