I’m trying to get my head around how to do this. I got it working, but I’m not sure it’s right.
So, I created https://github.com/kurocha/setup-cpp which was pretty complicated for what basically amounts to two shell commands.
Can it be improved? Why can’t I just write shell commands? e.g.
using: shellor something in
It seemed to fail when I just used “kurocha/setup-cpp” rather than “kurocha/setup-cpp@master”. But the documentation seems to imply the former should be okay (and the same as the latter?).
How do you export environment variables to subsequent steps?
Then, I used it here: https://github.com/kurocha/images/runs/242576250
For the most part, it seems to be working. However, I wanted to roll all the setup steps into a single action/package to avoid duplication as I roll this out over ~50 other repos. Can you make a meta-action that includes other actions? Or should I just make a template and live with that?
Is there any way to save and access meta-data from the build run? I’d love to store coverage and timing information in a YAML artefact which I could aggregate and/or check over time.
The badge uses the Verdana font which isn’t available by default on Linux and looks weird. Maybe a bug?