Store usage log on GitHub when S3 is not available (#87947)
It turns out that we haven't uploaded the usage log to GitHub when S3 is not available (macos, rocm), for example, https://github.com/pytorch/pytorch/actions/runs/3325822440#artifacts only includes test-report, test-json, sccache stats, and build artifacts.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/87947
Approved by: https://github.com/clee2000