Reputation:
I would like to define various workflows that are all related in a single YAML file. Is this possible?
Upvotes: 2
Views: 715
Reputation: 9876
I could not find any official documentation, so I just tried out the idea myself, and I think you cannot define multiple workflows per single YAML file.
Here is github action run log, https://github.com/chenrui333/github-action-test/actions/runs/157799207.
Also, you cannot use YAML anchor syntax either, see more discussion in this Github Action thread.
Upvotes: 1