fix(packaging): bundle audio capture for mirror installs (#5747)

* fix(packaging): bundle audio capture for mirror installs

* fix(packaging): include audio prebuilds before packaging

* fix(cli): narrow native audio load error wrapping

* test(packaging): cover native audio fallback paths

* fix(packaging): require native audio artifacts

* fix(packaging): allow fork release without audio prebuilds

* fix(packaging): keep fork audio dependency fallback

* test(packaging): harden audio bundle coverage

* fix(packaging): validate native audio artifacts

* fix(packaging): harden native audio fallback paths

* fix(packaging): tighten audio bundle copy
This commit is contained in:
qqqys 2026-06-25 16:13:45 +08:00 committed by GitHub
parent 07beac1ddb
commit a4203da49d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 635 additions and 10 deletions

View file

@ -391,11 +391,6 @@ jobs:
echo "Dry run enabled. Skipping push."
fi
- name: 'Build Bundle and Prepare Package'
run: |-
npm run bundle
npm run prepare:package
- name: 'Download audio capture prebuilds'
if: |-
${{ github.repository == 'QwenLM/qwen-code' }}
@ -404,6 +399,13 @@ jobs:
name: 'audio-capture-prebuilds'
path: 'packages/audio-capture/prebuilds'
- name: 'Build Bundle and Prepare Package'
env:
QWEN_REQUIRE_AUDIO_CAPTURE_PREBUILD: "${{ github.repository == 'QwenLM/qwen-code' && '1' || '' }}"
run: |-
npm run bundle
npm run prepare:package
- name: 'Build Standalone Archives'
env:
RELEASE_VERSION: '${{ needs.prepare.outputs.release_version }}'