1
Fork 0

don't print download progress in CI

This commit is contained in:
jyn 2023-07-09 22:12:39 -05:00
parent 26cdf7566c
commit dcd8d376cb
2 changed files with 8 additions and 3 deletions

View file

@ -97,7 +97,7 @@ def _download(path, url, probably_big, verbose, exception):
print("downloading {}".format(url), file=sys.stderr)
try:
if probably_big or verbose:
if (probably_big or verbose) and "GITHUB_ACTIONS" not in os.environ:
option = "-#"
else:
option = "-s"