File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ New-Item $basePath -ItemType Directory | Out-Null
1818
1919$failureMessage = " "
2020
21-
2221foreach ($scenario in $scenarios ) {
22+ # these fail on windows in GH and because they use dockerfiles for the scenarios we don't need to run them twice anyway
2323 if ($env: GithubOS -eq " windows-latest" ) {
2424 continue
2525 }
@@ -76,7 +76,7 @@ RUN dotnet build -c Release
7676
7777Write-Host " ::group::UnformattedFileCausesError"
7878
79- & dotnet build - c Release ./ TestCases/ UnformattedFileCausesError/ Project.csproj > $output
79+ $output = ( & dotnet build - c Release ./ TestCases/ UnformattedFileCausesError/ Project.csproj) | Out-String
8080Write-Host $output
8181if ($LASTEXITCODE -ne 1 ) {
8282 $failureMessage += " ::error::The TestCase UnformattedFileCausesError did not return an exit code of 1`n "
You can’t perform that action at this time.
0 commit comments