File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -306,6 +306,25 @@ jobs:
306306 "All pages passed Axe.Windows accessibility validation." >> $env:GITHUB_STEP_SUMMARY
307307 }
308308
309+ - name : Verify DevBuild identity marker
310+ shell : pwsh
311+ run : |
312+ dotnet build src/OpenClaw.Tray.WinUI -c Debug -r win-x64 -p:DevBuild=true --no-restore
313+ $marker = Get-ChildItem -Path src\OpenClaw.Tray.WinUI\bin\Debug -Recurse -Filter app-identity.txt |
314+ Where-Object { $_.FullName -like '*\win-x64\app-identity.txt' } |
315+ Sort-Object LastWriteTimeUtc -Descending |
316+ Select-Object -First 1
317+ if ($null -eq $marker) {
318+ throw "Dev identity marker was not produced by the DevBuild."
319+ }
320+
321+ $identity = (Get-Content -LiteralPath $marker.FullName -Raw).Trim()
322+ if ($identity -ne "dev") {
323+ throw "Expected DevBuild identity marker 'dev' but found '$identity' at $($marker.FullName)."
324+ }
325+
326+ Write-Host "DevBuild identity marker verified at $($marker.FullName): $identity"
327+
309328 - name : Upload Test Results
310329 if : always()
311330 uses : actions/upload-artifact@v7
You can’t perform that action at this time.
0 commit comments