Skip to content

Commit

Permalink
Return HRESULTs from running published samples
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Jul 28, 2023
1 parent 63611a4 commit b61ffb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ jobs:
sleep -Seconds 2;
$process.CloseMainWindow() | Out-Null;
$process.WaitForExit();
$process.ExitCode
return $process.ExitCode
# Upload the binary (to track binary size trends)
- if: matrix.platform == 'x64'
Expand Down Expand Up @@ -271,7 +271,7 @@ jobs:
sleep -Seconds 2;
$process.CloseMainWindow() | Out-Null;
$process.WaitForExit();
$process.ExitCode
return $process.ExitCode
# Upload the binary again (with a different name)
- if: matrix.platform == 'x64'
Expand All @@ -297,7 +297,7 @@ jobs:
sleep -Seconds 2;
$process.CloseMainWindow() | Out-Null;
$process.WaitForExit();
$process.ExitCode
return $process.ExitCode
# Download the NuGet packages generated in the previous job and use them
# to build and run the sample project referencing them. This is used as
Expand Down

0 comments on commit b61ffb6

Please sign in to comment.