Skip to content

Commit 413f9b5

Browse files
committed
add cleanup instructions for mac and windows
1 parent 69b4805 commit 413f9b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ runs:
3535
unzip -q ffprobe.zip
3636
mv ffprobe "$INSTALL_DIR/ffprobe"
3737
chmod +x "$INSTALL_DIR/"*
38+
rm -f ffmpeg.zip ffprobe.zip
3839
3940
elif [[ "${{ runner.os }}" == "Windows" ]]; then
4041
curl -L "https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-$FF_VERSION-essentials_build.zip" -o ffmpeg.zip
4142
unzip -q ffmpeg.zip
4243
find . -type f \( -name ffmpeg.exe -o -name ffprobe.exe \) -exec mv {} "$INSTALL_DIR/" \;
44+
rm -f ffmpeg.zip
4345
fi
4446
4547
echo "$INSTALL_DIR" >> "$GITHUB_PATH"

0 commit comments

Comments
 (0)