ci: capture uploader screenshots; docs: record job engine, visuals and uploader decisions

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 10:41:41 +00:00
1 parent 96bc2cafbe
commit 95dbf53569
3 files changed
+29 -15

No files matched your search

+11 -7
View File
@@ -90,13 +90,17 @@ jobs:
if: runner.os == 'Windows'
run: |
set +e
src/Titano.App/bin/Release/net10.0-windows/Titano.exe --capture out/screenshots 2> out/capture.log &
wait $!
code=$?
cat out/capture.log
count=$(ls out/screenshots/*.png 2>/dev/null | wc -l)
echo "capture exit code $code, $count screenshot(s)"
if [ "$count" -eq 0 ]; then echo "::warning title=Screenshots::Titano --capture produced no images (exit $code)"; fi
for exe in src/Titano.App/bin/Release/net10.0-windows/Titano.exe src/Titano.Uploader/bin/Release/net10.0-windows/Titano.Uploader.exe; do
name=$(basename "$exe" .exe)
before=$(ls out/screenshots/*.png 2>/dev/null | wc -l)
"$exe" --capture out/screenshots 2> "out/capture-$name.log" &
wait $!
code=$?
cat "out/capture-$name.log"
count=$(( $(ls out/screenshots/*.png 2>/dev/null | wc -l) - before ))
echo "$name capture exit code $code, $count screenshot(s)"
if [ "$count" -eq 0 ]; then echo "::warning title=Screenshots::$name --capture produced no images (exit $code)"; fi
done
- name: Publish desktop programs (win-x64, self-contained single file)
if: runner.os == 'Windows'