forever cache hang (similar to bug in actions/cache -- see description)

Description:
it appears that caching in actions/setup-python can also hit the infinite hang described in actions/cache#810

we have SEGMENT_DOWNLOAD_TIMEOUT_MIN set to 3 but have experienced an infinite hang in actions/setup-python (presumably @actions/cache just needs to be upgraded here as well?) -- https://github.com/getsentry/sentry/actions/runs/3039230176/jobs/4893922604

Action version:
Specify the action version

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
3.8.14

Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.

https://github.com/getsentry/sentry/actions/runs/3039230176/jobs/4893922604

Expected behavior:
A description of what you expected to happen.

to respect the timeout environment variable

Actual behavior:
A description of what is actually happening.

infinite hang