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
11 changes: 8 additions & 3 deletions .github/actions/setup-ffmpeg/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading