ci: 첫 파이프라인 실패 2건 수정 — alpha 채널 감지 차단 + mac sox 자동 설치
Some checks failed
Build macOS / Build & Package (macOS) (push) Failing after 5s
Build macOS / Build & Package (macOS)-1 (push) Failing after 3s

- detectUpdateChannel:false — prerelease 버전이 alpha.yml을 만들어 latest.yml
  글롭/가드에 안 걸리던 문제 (electron-updater 기본 채널 latest와 정렬)
- artifacts 글롭 *.yml로 방어적 확장, publish 스크립트 메타데이터 regex 확장
- package-macos: sox 미설치 시 brew install sox 폴백
This commit is contained in:
Yun Chan 2026-07-21 15:48:21 +09:00
parent c6fd8c9a9a
commit 3e6e392920
3 changed files with 11 additions and 4 deletions

View file

@ -111,7 +111,8 @@ package-windows:
# expose_as는 와일드카드와 병행 불가라 제거. Artifacts 링크는 Job 페이지에서 접근.
paths:
- apps/desktop/release/*/*.exe
- apps/desktop/release/*/latest.yml
# latest.yml — detectUpdateChannel:false로 채널 고정. *.yml로 방어적 매치.
- apps/desktop/release/*/*.yml
- apps/desktop/release/*/*.blockmap
expire_in: 90 days
rules:
@ -151,6 +152,8 @@ package-macos:
- apps/desktop/sidecar/.venv-ci/bin/pip install -r apps/desktop/sidecar/requirements.txt
- apps/desktop/sidecar/.venv-ci/bin/python apps/desktop/scripts/build-sidecar.py
# 2) SoX 번들 (brew sox → resources/sox/ 복사 + dylib rpath 재배치)
# runner에 sox 미설치면 user-level brew로 설치 (idempotent)
- command -v sox >/dev/null 2>&1 || brew install sox
- bash apps/desktop/scripts/install-sox.sh
# 3) Ollama 다운로드 (darwin tgz)
- bash apps/desktop/scripts/download-ollama.sh
@ -161,7 +164,7 @@ package-macos:
paths:
- apps/desktop/release/*/*.dmg
- apps/desktop/release/*/*.zip
- apps/desktop/release/*/latest-mac.yml
- apps/desktop/release/*/*.yml
- apps/desktop/release/*/*.blockmap
expire_in: 90 days
rules: