Skip to content

Commit ac0c52e

Browse files
Update build-and-sign-all.yml
1 parent 0f2c910 commit ac0c52e

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

.github/workflows/build-and-sign-all.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,21 @@ jobs:
5353
$vddSln = "Virtual Display Driver (HDR)/MTTVDD.sln"
5454
if (Test-Path $vddSln) {
5555
Write-Output "Found VDD solution: $vddSln"
56-
msbuild $vddSln /p:Configuration=$env:BUILD_CONFIGURATION /p:Platform=${{ matrix.platform }}
57-
Write-Output "VDD build completed for ${{ matrix.platform }}"
56+
Write-Output "Running MSBuild..."
57+
msbuild $vddSln /p:Configuration=$env:BUILD_CONFIGURATION /p:Platform=${{ matrix.platform }} /verbosity:minimal
58+
if ($LASTEXITCODE -eq 0) {
59+
Write-Output "✅ VDD build completed successfully for ${{ matrix.platform }}"
60+
} else {
61+
Write-Output "❌ VDD build failed with exit code: $LASTEXITCODE"
62+
}
5863
5964
# List build directory
6065
$buildDir = "Virtual Display Driver (HDR)\${{ matrix.platform }}\$env:BUILD_CONFIGURATION\MttVDD"
6166
if (Test-Path $buildDir) {
62-
Write-Output "VDD Build outputs in $buildDir:"
67+
Write-Output "VDD Build outputs in ${buildDir}:"
6368
Get-ChildItem $buildDir | ForEach-Object { Write-Output " - $($_.Name)" }
6469
} else {
65-
Write-Output "❌ Build directory not found: $buildDir"
70+
Write-Output "❌ Build directory not found: ${buildDir}"
6671
}
6772
} else {
6873
Write-Output "❌ VDD solution file not found at: $vddSln"
@@ -77,8 +82,13 @@ jobs:
7782
$vadSln = "Virtual-Audio-Driver (Latest Stable)/VirtualAudioDriver.sln"
7883
if (Test-Path $vadSln) {
7984
Write-Output "Found VAD solution: $vadSln"
80-
msbuild $vadSln /p:Configuration=$env:BUILD_CONFIGURATION /p:Platform=${{ matrix.platform }}
81-
Write-Output "VAD build completed for ${{ matrix.platform }}"
85+
Write-Output "Running MSBuild..."
86+
msbuild $vadSln /p:Configuration=$env:BUILD_CONFIGURATION /p:Platform=${{ matrix.platform }} /verbosity:minimal
87+
if ($LASTEXITCODE -eq 0) {
88+
Write-Output "✅ VAD build completed successfully for ${{ matrix.platform }}"
89+
} else {
90+
Write-Output "❌ VAD build failed with exit code: $LASTEXITCODE"
91+
}
8292
8393
# List build outputs (search for standard driver output locations)
8494
Write-Output "Searching for VAD build outputs..."
@@ -160,6 +170,7 @@ jobs:
160170
id: generate_tag
161171
run: |
162172
$releaseTag = (Get-Date).ToString('yy.MM.dd')
173+
Write-Output "Generated release tag: $releaseTag"
163174
echo "RELEASE_TAG=$releaseTag" >> $env:GITHUB_ENV
164175
165176
# Submit VDD to SignPath (only for main branch and tags)

0 commit comments

Comments
 (0)