Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/actions/setup-media-proof-tools/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Setup media proof tools
description: Install ffmpeg/ffprobe for ClawSweeper video proof inspection.

runs:
using: composite
steps:
- name: Install ffmpeg and ffprobe
shell: bash
run: |
set -euo pipefail
if command -v ffmpeg >/dev/null 2>&1 && command -v ffprobe >/dev/null 2>&1; then
ffmpeg -version | head -n 1
ffprobe -version | head -n 1
exit 0
fi
if command -v apt-get >/dev/null 2>&1; then
sudo apt-get update
sudo apt-get install -y --no-install-recommends ffmpeg
else
echo "ffmpeg/ffprobe are required for video proof inspection, and apt-get is unavailable on this runner." >&2
exit 1
fi
ffmpeg -version | head -n 1
ffprobe -version | head -n 1
4 changes: 4 additions & 0 deletions .github/workflows/sweep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ jobs:
with:
build-script: build:all

- uses: ./.github/actions/setup-media-proof-tools

- name: Mark re-review command in progress
continue-on-error: true
env:
Expand Down Expand Up @@ -922,6 +924,8 @@ jobs:
with:
login-status: "true"

- uses: ./clawsweeper/.github/actions/setup-media-proof-tools

- uses: actions/cache@v5
with:
path: ${{ needs.plan.outputs.target_checkout_dir }}-cache.git
Expand Down