feat: 회의 파일 가져오기와 입력 엔진 배포 보완

This commit is contained in:
Yun Chan 2026-11-01 19:39:06 +09:00
parent 5a8c5cd792
commit b3519e5da7
54 changed files with 1129 additions and 116 deletions

View file

@ -39,30 +39,67 @@ jobs:
run: |
node scripts/ci/sync-version.mjs --check --tag "$env:GITHUB_REF_NAME"
- name: 로컬 런타임 선행 게시 확인
id: feed
run: |
$releaseVersion = node -p "require('./release/product-version.json').version"
$published = 'false'
$base = 'https://git.chanpaca.net/api/packages/yunchan/generic/d3ro-voice'
function Read-PublishedIndex($url) {
try { return Invoke-RestMethod $url }
catch {
if ($_.Exception.Response.StatusCode.value__ -eq 404) { return $null }
throw
}
}
$portable = Read-PublishedIndex "$base/portable-$releaseVersion/portable.json"
$runtime = Read-PublishedIndex "$base/runtime-$releaseVersion/runtime.json"
if ($portable -or $runtime) {
if ($portable.version -ne $releaseVersion -or $runtime.version -ne $releaseVersion) {
throw 'Partial immutable publication. Resume with preserved local artifacts; do not rebuild.'
}
$portableLatest = Read-PublishedIndex "$base/portable-latest/portable.json"
$runtimeLatest = Read-PublishedIndex "$base/runtime-latest/runtime.json"
if (-not $portableLatest -or -not $runtimeLatest -or
[version]$portableLatest.version -lt [version]$releaseVersion -or
[version]$runtimeLatest.version -lt [version]$releaseVersion) {
throw 'Latest aliases incomplete. Resume the local publisher with preserved artifacts.'
}
$published = 'true'
}
"published=$published" >> $env:GITHUB_OUTPUT
- name: 의존성 설치
if: steps.feed.outputs.published != 'true'
run: npm ci
- name: STT 사이드카 빌드
if: steps.feed.outputs.published != 'true'
run: |
npm run sidecar:setup --workspace=@d3ro/desktop
npm run sidecar:build --workspace=@d3ro/desktop
node scripts/ci/verify-sidecar-bundle.mjs
- name: 데스크톱 번들 빌드
if: steps.feed.outputs.published != 'true'
run: npm run build --workspace=@d3ro/desktop
- name: 데스크톱 렌더러 번들 검증
if: steps.feed.outputs.published != 'true'
run: node scripts/ci/verify-desktop-renderer-bundles.mjs
- name: 휴대용 ZIP + Scoop 매니페스트 생성
if: steps.feed.outputs.published != 'true'
run: node scripts/ci/build-portable.mjs
- name: Forgejo portable 채널 게시
if: steps.feed.outputs.published != 'true'
env:
FORGEJO_TOKEN: "${{ secrets.FORGEJO_TOKEN }}"
run: node scripts/ci/publish-portable-release.mjs
- name: 게시 요약 출력
if: steps.feed.outputs.published != 'true'
# Forgejo Actions 러너는 actions/upload-artifact@v4 의 GHES 스토리지 프로토콜을 지원하지 않으므로(GAP-REL-11),
# 실제 배포 산출물은 앞 단계에서 Forgejo Generic Package Registry 에 이미 게시됐고 여기서는 해시 요약을 남긴다.
run: |
@ -85,4 +122,4 @@ jobs:
Write-Host $summaryText
if ($env:GITHUB_STEP_SUMMARY) {
Add-Content -Path $env:GITHUB_STEP_SUMMARY -Value $summaryText -Encoding utf8
}
}