fix: build emulator from Emulator/ subdir (pom.xml lives there, not repo root)

This commit is contained in:
openhands committed 2026-07-20 19:10:03 +02:00
1 parent eda03c7f96
commit 3fcd1e1018
1 file changed
+2 -2
+2 -2
View File
@@ -193,8 +193,8 @@ jobs:
echo "Emulator clone attempt $attempt failed, retrying..." >&2
sleep 5
done
[ -f "$WORK/src/emulator/pom.xml" ] || { echo "Emulator clone failed (no pom.xml)"; exit 1; }
cd "$WORK/src/emulator"
[ -f "$WORK/src/emulator/Emulator/pom.xml" ] || { echo "Emulator clone failed (no pom.xml)"; exit 1; }
cd "$WORK/src/emulator/Emulator"
mvn package -q -T 1C -o -Dmaven.test.skip=true 2>&1 \
|| mvn package -q -T 1C -Dmaven.test.skip=true 2>&1
rm -f "$S"/*.jar; find target -maxdepth 1 -name 'Polaris-*-jar-with-dependencies.jar' -exec cp {} "$S/" \; 2>/dev/null || true