Skip to content

Commit 3729b0f

Browse files
committed
Update build-macos.yml
1 parent 54b0a52 commit 3729b0f

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

.github/workflows/build-macos.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,17 @@ jobs:
5050
# spec 파일 강제 삭제 (매번 새로 생성하도록)
5151
rm -f VibeCulling.spec 2>/dev/null || true
5252
53-
- name: Build macOS app
53+
- name: Build with PyInstaller (임시 디렉토리 사용)
5454
run: |
5555
chmod +x build_mac_app.sh
5656
./build_mac_app.sh
57-
# 빌드 후 spec 파일 삭제 (심볼릭 링크 충돌 방지)
58-
rm -f VibeCulling.spec 2>/dev/null || true
57+
58+
# 빌드 후 spec 파일 및 임시 파일 정리
59+
- name: Clean spec and temp files after build
60+
run: |
61+
rm -f VibeCulling.spec
62+
rm -rf /tmp/vibeculling_*
63+
continue-on-error: true
5964

6065
- name: Retry build if failed (강력한 정리 후 재시도)
6166
if: failure()
@@ -73,9 +78,11 @@ jobs:
7378
mkdir -p dist build
7479
# 재시도
7580
chmod +x build_mac_app.sh
76-
./build_mac_app.sh
77-
# 재시도 후에도 spec 파일 삭제
78-
rm -f VibeCulling.spec 2>/dev/null || true
81+
./build_mac_app.sh
82+
83+
# 재시도 후 spec 파일 및 임시 파일 정리
84+
rm -f VibeCulling.spec 2>/dev/null || true
85+
rm -rf /tmp/vibeculling_* 2>/dev/null || true
7986
8087
- name: Upload artifact
8188
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)