Basically I wanted to reuse some common steps in one of my azure build pipeline definitions (a simple example being I have one copy file step and one command line step) that I want to reuse across several new build pipelines that I plan to create. Can I create these commonly used steps as a template and reuse them rather than manually creating them for every build definition I create?
I do know we can use templates to impose standards and security checks. But wanted to check if we can use this to combine frequently used steps across different build definitions. Acting as a single template and can be reused.
I also know we can easily achieve this via Task group but I wanted to create this as a yaml template so as to version control them.