We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d9a8bc commit 4d29ecfCopy full SHA for 4d29ecf
1 file changed
.github/actions/setup-ffmpeg/action.yml
@@ -23,9 +23,14 @@ runs:
23
local binary_name="${2:-FFmpeg}"
24
local output_file="$(echo "$binary_name" | tr '[:upper:]' '[:lower:]').zip"
25
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"
+ 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"
29
+ rm -f "$output_file"
30
+ else
31
+ echo "Failed to download $binary_name from $url"
32
+ return 1
33
+ fi
34
}
35
36
if [[ "${{ runner.os }}" == "Linux" ]]; then
0 commit comments