subosito / flutter-action

Flutter environment for use in GitHub Actions. It works on Linux, Windows, and macOS.
MIT License
2.23k stars 199 forks source link

Quiet output? #130

Closed blopker closed 2 years ago

blopker commented 2 years ago

Hey! First off, thanks for making this. Works really well.

One thing I noticed is that the build logs can get pretty long as every time flutter is unzipped (on the Mac runners) every file is listed out.

I was wondering if the unzip call could be modified to add the -q to quiet the output a bit? My guess is that the action would also run faster as printing output can be expensive.

So,

    unzip -o "$archive_local" -d "$HOME"

to

    unzip -q -o "$archive_local" -d "$HOME"

Thanks!

blopker commented 2 years ago

Nice! Thanks.

subosito commented 2 years ago

You're welcome @blopker, thanks for the suggestion 👍

blopker commented 2 years ago

Great, I wanted to follow up and say this action went from 53 to 39 seconds on my macos builds.