From c2f86598a3c24834f8420c5cb30006d30fa3f9ca Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 5 May 2026 08:02:59 +0100 Subject: [PATCH] ci: install ffmpeg for Mantis media previews --- .github/workflows/mantis-discord-status-reactions.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/mantis-discord-status-reactions.yml b/.github/workflows/mantis-discord-status-reactions.yml index 071bf919b67..4602348570f 100644 --- a/.github/workflows/mantis-discord-status-reactions.yml +++ b/.github/workflows/mantis-discord-status-reactions.yml @@ -420,6 +420,9 @@ jobs: --json > "$metadata" } + if ! command -v ffmpeg >/dev/null 2>&1 || ! command -v ffprobe >/dev/null 2>&1; then + sudo apt-get update && sudo apt-get install -y ffmpeg || true + fi if ! make_desktop_preview baseline || ! make_desktop_preview candidate; then rm -f "$root/baseline/discord-status-reactions-tool-only-desktop-preview.gif" rm -f "$root/candidate/discord-status-reactions-tool-only-desktop-preview.gif"