I just discovered act
, a tool to build projects using the content in your .github/workflows
folder on your local machine - instead of github.
I tried building bnd / bndtools with it, and it worked out of the box.
- GitHub - nektos/act: Run your GitHub Actions locally 🚀
- Installation: Installation - act - User Guide | Manual | Docs | Documentation
This could come in handy for scenarios where you want to test modifications to your github actions, before you push it to github.
Since it uses docker containers under the hood, you avoid certain environment specific problems such as incorrectly set JAVA_HOME path etc.