google-github-actions / setup-gcloud

A GitHub Action for installing and configuring the gcloud CLI.

Home Page:https://cloud.google.com/sdk/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Group Tar output in github logs

nyarly opened this issue · 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

Hi @nyarly

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

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