From 3d9a8bc9885e7cabf45acf3c3fac92be6b3a0d85 Mon Sep 17 00:00:00 2001 From: bump Date: Thu, 18 Jun 2026 09:36:44 +0000 Subject: [PATCH 1/2] Update FFmpeg to v8.1.2 --- .github/workflows/unit-test.yml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 42eb83f4..0254a3d2 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -27,7 +27,7 @@ jobs: uses: ./.github/actions/setup-ffmpeg with: # bump: FFmpeg /ffmpeg-version: ([\d.]+)/ docker:mwader/static-ffmpeg|/\d+\./|* - ffmpeg-version: 8.1.1 + ffmpeg-version: 8.1.2 - name: Setup Java uses: actions/setup-java@v5 diff --git a/Dockerfile b/Dockerfile index 7eca76a6..4f143d7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM eclipse-temurin:26-alpine AS builder WORKDIR /app # bump: FFmpeg /static-ffmpeg:([\d.]+)/ docker:mwader/static-ffmpeg|/\d+\./|* -COPY --from=mwader/static-ffmpeg:8.1.1 /ff* /usr/bin/ +COPY --from=mwader/static-ffmpeg:8.1.2 /ff* /usr/bin/ COPY . . RUN --mount=type=cache,target=/root/.gradle ./gradlew check installDist --no-daemon From 4d29ecf3e28c2699137dda3cd3a48769639466cb Mon Sep 17 00:00:00 2001 From: Roberto Cella Date: Sat, 27 Jun 2026 15:21:40 +0200 Subject: [PATCH 2/2] Add specific log when FFmpeg download fails --- .github/actions/setup-ffmpeg/action.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/actions/setup-ffmpeg/action.yml b/.github/actions/setup-ffmpeg/action.yml index 719d4f6e..d4c8ccec 100644 --- a/.github/actions/setup-ffmpeg/action.yml +++ b/.github/actions/setup-ffmpeg/action.yml @@ -23,9 +23,14 @@ runs: local binary_name="${2:-FFmpeg}" local output_file="$(echo "$binary_name" | tr '[:upper:]' '[:lower:]').zip" - curl -sS -f -L --retry 3 --retry-delay 5 "$url" -o "$output_file" -w "Downloaded $binary_name from %{url_effective}\n" - unzip -q "$output_file" - rm -f "$output_file" + if curl -sS -f -L --retry 3 --retry-delay 5 "$url" -o "$output_file"; then + echo "Downloaded $binary_name from $url" + unzip -q "$output_file" + rm -f "$output_file" + else + echo "Failed to download $binary_name from $url" + return 1 + fi } if [[ "${{ runner.os }}" == "Linux" ]]; then