Skip to content

Commit 8999dde

Browse files
committed
build: delete flutter_avif build cache to free disk space
Make CI happy.
1 parent 80a2cfc commit 8999dde

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/build-flutter_avif-android.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,8 @@ echo "building flutter_avif Android libs ... OK!"
3636

3737
ls -R "${AVIF_ANDROID_JNILIBS_DIR}"
3838
find "${AVIF_ANDROID_JNILIBS_DIR}" -type f -name "*.so" -exec md5sum {} +
39+
40+
# Reduce disk space usage, otherwise GitHub CI fails.
41+
echo "deleting build cache ..."
42+
find "${AVIF_ROOT}" -name target -delete
43+
echo "deleting build cache ... OK!"

0 commit comments

Comments
 (0)