# Tip: Build bnd with github actions locally

**URL:** <https://bnd.discourse.group/t/tip-build-bnd-with-github-actions-locally/513>\
**Category:** DEVELOPMENT\
**Created:** [March 22, 2025, 2:02pm UTC](https://bnd.discourse.group/t/tip-build-bnd-with-github-actions-locally/513 "2025-03-22T14:02:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisrueger](https://yyz2.discourse-cdn.com/free1/user_avatar/bnd.discourse.group/chrisrueger/32/18_2.png) [@chrisrueger](https://bnd.discourse.group/u/chrisrueger)\
**Post date:** [March 22, 2025, 2:02pm UTC](https://bnd.discourse.group/t/tip-build-bnd-with-github-actions-locally/513/1 "2025-03-22T14:02:04Z")

</div>

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 🚀](https://github.com/nektos/act?tab=readme-ov-file#how-does-it-work)
- Installation: [Installation - act - User Guide | Manual | Docs | Documentation](https://nektosact.com/installation/index.html)

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](https://github.com/bndtools/bnd/issues/6533) etc.
