mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-07 02:38:50 +01:00
fix(release): install MP3 tools before audio generation
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
9be5c6f94b
commit
e3fde1fd74
3 changed files with 12 additions and 2 deletions
4
.github/workflows/release-audio-tests.yml
vendored
4
.github/workflows/release-audio-tests.yml
vendored
|
|
@ -22,4 +22,8 @@ jobs:
|
|||
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
|
||||
with:
|
||||
python-version: '3.12'
|
||||
- name: Install tools for the offline MP3 decode test
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends ffmpeg
|
||||
- run: python3 -m unittest discover -s release/audio -p 'test_*.py' -v
|
||||
|
|
|
|||
5
.github/workflows/release-audio.yml
vendored
5
.github/workflows/release-audio.yml
vendored
|
|
@ -58,6 +58,11 @@ jobs:
|
|||
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
|
||||
with:
|
||||
python-version: '3.12'
|
||||
- name: Install MP3 inspection tools before generation
|
||||
if: env.AUDIO_MODE == 'audio' && env.AUDIO_ENABLED == 'true'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends ffmpeg
|
||||
- name: Resolve sources and check limits and duplicate attempts
|
||||
id: prepare
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue