Github Actions: Composite Actions

less than 1 minute read


So in my workflows directory was getting packed with Github Action Workflows from all my previous posts so I decided to move them only to find out that Github Actions require them to be in that folder directly, not a subfolder. Boo! Following the guidence in that link I was able to create composite actions that call action files. This is the final result:

To Resolve:

  1. Similar to templates in Azure Devops, I just have the build point to any of my subfolders and pass in parameters there.

  2. Same for release, I just update the directory I’m passing to.