fix(release): install MP3 tools before audio generation

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan 2026-10-01 18:12:56 -04:00
commit e3fde1fd74
3 changed files with 12 additions and 2 deletions

View file

@ -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

View file

@ -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: