mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
[easy] Fix upload test stats after master -> main switch (#99924)
Fixes #ISSUE_NUMBER Pull Request resolved: https://github.com/pytorch/pytorch/pull/99924 Approved by: https://github.com/huydhn
This commit is contained in:
parent
367d3afd7c
commit
2cea2edc27
1 changed files with 2 additions and 2 deletions
|
|
@ -369,8 +369,8 @@ if __name__ == "__main__":
|
|||
failed_tests_cases,
|
||||
)
|
||||
|
||||
if args.head_branch == "master":
|
||||
# For master jobs, upload everything.
|
||||
if args.head_branch == "main":
|
||||
# For jobs on main branch, upload everything.
|
||||
upload_workflow_stats_to_s3(
|
||||
args.workflow_run_id, args.workflow_run_attempt, "test_run", test_cases
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue