Workflow consolidation for GitHub actions

This PR implements the proposal in https://fb.quip.com/RcLZAOb9k0qI,
which calls for using GitHub's "normal" means of composition (composite
actions, reusable workflows) instead of codegen.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/74306

Approved by: https://github.com/janeyx99
This commit is contained in:
Michael Suo
2022-03-17 20:49:27 -07:00
committed by PyTorch MergeBot
parent 2f2f153526
commit 4ca56b7c2c
72 changed files with 971 additions and 24259 deletions

View File

@ -63,6 +63,8 @@ def main() -> None:
for job_name, job in workflow['jobs'].items():
job_dir = out / p / job_name
if "steps" not in job:
continue
steps = job['steps']
index_chars = len(str(len(steps) - 1))
for i, step in enumerate(steps, start=1):