DEV Community

Discussion on: GitHub Actions Hackathon 2021 Help Thread

Collapse
 
anthonyalvarez profile image
Anthony E. Alvarez

Hello from New York City,

When there are multiple YAML files for Github Actions, what determines the sequence of which YAML file is to run first, second, third and so on? Is it advisable to put all actions in a single YML file?

Thank you..

Collapse
 
blackgirlbytes profile image
Rizèl Scarlett

Hey @anthonyalvarez , I would advise you to put them into a single file. There's nothing that determines the sequence across multiple file. I don't know your exact use case, but maybe reusable workflows would be helpful here. You can find out more about reusable workflows at this link: dev.to/github/github-actions-you-c...