Skip to content

Commit d5373ee

Browse files
authored
Update continuous-integration-workflow.yml
1 parent d8db005 commit d5373ee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ jobs:
5959
foreach ($sqlproj_file in $sqlproj_files) {
6060
Write-Host "Building $($sqlproj_file.FullName)"
6161
try {
62-
msbuild "$($sqlproj_file.FullName)" /p:Configuration=Release
62+
$output = &msbuild "$($sqlproj_file.FullName)" /p:Configuration=Release /nologo 2>&1
6363
if (!$?) {
64-
$errors += "Failed to build $($csproj_file.FullName)"
64+
$errors += "Failed to build $($csproj_file.FullName): $output"
6565
}
6666
} catch {
6767
# Capture detailed error information
@@ -96,9 +96,9 @@ jobs:
9696
foreach ($csproj_file in $csproj_files) {
9797
Write-Host "Building $($csproj_file.FullName)"
9898
try {
99-
dotnet build "$($csproj_file.FullName)" --configuration Release
99+
$output = &dotnet build "$($csproj_file.FullName)" --configuration Release 2>&1
100100
if (!$?) {
101-
$errors += "Failed to build $($csproj_file.FullName)"
101+
$errors += "Failed to build $($csproj_file.FullName): $output"
102102
}
103103
} catch {
104104
# Capture detailed error information

0 commit comments

Comments
 (0)