mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
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:
committed by
PyTorch MergeBot
parent
2f2f153526
commit
4ca56b7c2c
@ -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):
|
||||
|
Reference in New Issue
Block a user