ci: handle Electron app artifact shape

Wraps downloaded Contents folder back into OpenChamber.app
Unblocks Tauri-to-Electron migration repackage job
Documents GitHub artifact behavior
This commit is contained in:
Bohdan Triapitsyn
2026-05-22 02:22:19 +03:00
parent 07eb9d50d3
commit 9faf97acbd
2 changed files with 13 additions and 3 deletions
+8 -3
View File
@@ -305,9 +305,14 @@ jobs:
set -euo pipefail
if [ ! -d staged/OpenChamber.app ]; then
echo "Error: staged/OpenChamber.app not found"
ls -la staged
exit 1
if [ -d staged/Contents ]; then
mkdir -p staged/OpenChamber.app
mv staged/Contents staged/OpenChamber.app/Contents
else
echo "Error: staged/OpenChamber.app not found"
ls -la staged
exit 1
fi
fi
cd staged