I am increasingly of the opinion that when writing CI scripts for platforms such as GitHub actions you shouldn't use that platform's features but just wrap a single largish bash script.
It is trivially runnable on your laptop, which is great for testing and debugging changes locally.
And you don't need to learn syntax and conventions that are only used by a single system.
I'd be interested to know why this approach is so unusual. Is it because actions from the marketplace don't mix well with this?