#First install the plugin:
heroku plugins:install heroku-builds
#Then use the following command to clear the cache:
heroku builds:cache:purge -a example-app
//1.Install heroku-build plugin
heroku plugins:install heroku-builds
//2.Clear cache
heroku builds:cache:purge -a example-app