Incremental build

Hi All,

      Is it possible to do incremental build in github actions, so that we can speed up our builds and no need to compile the code if not changed.

Is it any builtin tool avialable in Github or third party tool like “buck”, how to integrate this one?

Any help would be greatly appreciated

Many thanks,
Srinuvasan.A

@asrinuva ,

Is it any builtin tool avialable in Github

GitHub does not have any built-in tool for incremental builds.

or third party tool like “buck”

You can try to use Bazel in your workflow.
There are some actions from GitHub Marketplace (see here). You can use one of them in your workflow to setup Bazel on the runner machine, then execute the related Bazel commands to do the incremental builds.

Hi,

              Thanks for sharing this information, will give a try and let you know.

Many thanks,
Srinuvasan.A

You’re welcome, @asrinuva .

Any update, feel free to tell us.