jlumbroso / free-disk-space

:octocat:⚙️🗑️ A GitHub Action to free disk space on an Ubuntu runner.
MIT License
385 stars 72 forks source link

Printing timings as well #25

Open ffMathy opened 4 months ago

ffMathy commented 4 months ago

Right now, this action takes 8 minutes to run. That's a lot for a CI pipeline.

I'd love to know how much time it takes to free up each thing that I set to true, so that I can opt out of some of them that are taking long.

It would be great if the action would print this information.

xc2 commented 4 months ago

Stroke shift-T on workflow log page, github will display the timestamps for you.

btw, please refer to https://github.com/jlumbroso/free-disk-space/pull/26 for better perf. To try out atm, change uses: jlumbroso/free-disk-space@main to uses: xc2/free-disk-space@main

molexx commented 3 months ago

That works well, time reduced from 16min (!) to 48s. Same space reduction - 37% usage to 19%. Thanks @xc2