Skip to content

Commit 8cbc717

Browse files
committed
Update build-macos.yml
1 parent 0e3b8a6 commit 8cbc717

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build-macos.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@ jobs:
4949
chmod +x build_mac_app.sh
5050
./build_mac_app.sh
5151
52+
- name: Retry build if failed (cleanup and retry)
53+
if: failure()
54+
run: |
55+
echo "빌드 실패 - 추가 정리 후 재시도"
56+
rm -rf dist build *.spec
57+
find . -path "*/PySide6/Qt/lib/Qt3DAnimation.framework/Resources" -type l -delete 2>/dev/null || true
58+
find . -path "*/PySide6/Qt/lib/*/Resources" -type l -delete 2>/dev/null || true
59+
chmod +x build_mac_app.sh
60+
./build_mac_app.sh
61+
5262
- name: Upload artifact
5363
uses: actions/upload-artifact@v4
5464
with:

0 commit comments

Comments
 (0)