setup-gcloud icon indicating copy to clipboard operation
setup-gcloud copied to clipboard

Group Tar output in github logs

Open nyarly opened this issue 2 years ago • 1 comments

TL;DR

Currently, any job that uses google-github-actions/setup-gcloud gets spammed with the tar output of unpacking the gcloud archive. While this might sometimes be crucial for debugging, it's a real hassle when CI issues aren't related to setup-gcloud

Detailed design

_a la_ https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#grouping-log-lines : 


echo ::group::GCloud tar unpack
/usr/bin/tar xz -v --warning=no-unknown-keyword --overwrite -C <tmp1> -f <tmp2>
echo ::endgroup::


### Additional information

This'd be really easy to do. I'd provide the PR if it'd be accepted

nyarly avatar May 13 '22 21:05 nyarly

Hi @nyarly

Feel free to take a stab, but I'm fairly certain that log output comes from actions/tool-cache.

sethvargo avatar May 14 '22 13:05 sethvargo

As mentioned above, this comes from actions/tool-cache.

sethvargo avatar Nov 10 '22 02:11 sethvargo