Skip to content

Commit bc54752

Browse files
rob93cbump
andauthored
Update FFmpeg to v8.1.2 (#518)
Co-authored-by: bump <bump-action@github>
1 parent 4fe9f81 commit bc54752

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/actions/setup-ffmpeg/action.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,14 @@ runs:
2323
local binary_name="${2:-FFmpeg}"
2424
local output_file="$(echo "$binary_name" | tr '[:upper:]' '[:lower:]').zip"
2525
26-
curl -sS -f -L --retry 3 --retry-delay 5 "$url" -o "$output_file" -w "Downloaded $binary_name from %{url_effective}\n"
27-
unzip -q "$output_file"
28-
rm -f "$output_file"
26+
if curl -sS -f -L --retry 3 --retry-delay 5 "$url" -o "$output_file"; then
27+
echo "Downloaded $binary_name from $url"
28+
unzip -q "$output_file"
29+
rm -f "$output_file"
30+
else
31+
echo "Failed to download $binary_name from $url"
32+
return 1
33+
fi
2934
}
3035
3136
if [[ "${{ runner.os }}" == "Linux" ]]; then

.github/workflows/unit-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: ./.github/actions/setup-ffmpeg
2828
with:
2929
# bump: FFmpeg /ffmpeg-version: ([\d.]+)/ docker:mwader/static-ffmpeg|/\d+\./|*
30-
ffmpeg-version: 8.1.1
30+
ffmpeg-version: 8.1.2
3131

3232
- name: Setup Java
3333
uses: actions/setup-java@v5

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM eclipse-temurin:26-alpine AS builder
33
WORKDIR /app
44

55
# bump: FFmpeg /static-ffmpeg:([\d.]+)/ docker:mwader/static-ffmpeg|/\d+\./|*
6-
COPY --from=mwader/static-ffmpeg:8.1.1 /ff* /usr/bin/
6+
COPY --from=mwader/static-ffmpeg:8.1.2 /ff* /usr/bin/
77

88
COPY . .
99
RUN --mount=type=cache,target=/root/.gradle ./gradlew check installDist --no-daemon

0 commit comments

Comments
 (0)