fix: use static ffmpeg binary instead of apt-get (avoids dpkg lock hang)

This commit is contained in:
snomiao
2026-03-18 20:33:50 +00:00
parent 87a4316125
commit 7e756ec673

View File

@@ -324,7 +324,15 @@ jobs:
find qa-artifacts -type f 2>/dev/null | head -20
- name: Install ffmpeg
run: sudo apt-get install -y -qq ffmpeg 2>&1 | tail -3
run: |
if command -v ffmpeg &>/dev/null; then
echo "ffmpeg already installed"
else
echo "Downloading static ffmpeg..."
curl -sL "https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz" \
| tar xJ --strip-components=1 --wildcards '*/ffmpeg' -C /usr/local/bin/
fi
ffmpeg -version | head -1
- name: Convert videos to mp4
run: |