File tree Expand file tree Collapse file tree
.github/actions/setup-ffmpeg Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,12 +28,12 @@ runs:
2828
2929 elif [[ "${{ runner.os }}" == "macOS" ]]; then
3030 FF_VERSION=$(echo "$FF_VERSION" | awk -F. '{print $1 $2}')
31- curl -sS -L --retry 3 --retry-delay 5 \
31+ curl -sS -f - L --retry 3 --retry-delay 5 \
3232 "https://www.osxexperts.net/ffmpeg${FF_VERSION}arm.zip" \
3333 -o ffmpeg.zip -w "Downloaded FFmpeg from %{url_effective}\n"
3434 unzip -q ffmpeg.zip
3535 mv ffmpeg "$INSTALL_DIR/ffmpeg"
36- curl -sS -L --retry 3 --retry-delay 5 \
36+ curl -sS -f - L --retry 3 --retry-delay 5 \
3737 "https://www.osxexperts.net/ffprobe${FF_VERSION}arm.zip" \
3838 -o ffprobe.zip -w "Downloaded FFprobe from %{url_effective}"
3939 unzip -q ffprobe.zip
4242 rm -f ffmpeg.zip ffprobe.zip
4343
4444 elif [[ "${{ runner.os }}" == "Windows" ]]; then
45- curl -sS -L --retry 3 --retry-delay 5 \
45+ curl -sS -f - L --retry 3 --retry-delay 5 \
4646 "https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-$FF_VERSION-essentials_build.zip" \
4747 -o ffmpeg.zip -w "Downloaded FFmpeg and FFprobe from %{url_effective}"
4848 unzip -q ffmpeg.zip
You can’t perform that action at this time.
0 commit comments