Integrating with Github Actions when using Self-Hosted Runners
Incredibuild integrates by installing an Initiator Agent on each self-hosted runner.-
Incredibuild Setup and Prerequisites
- Github Actions must be up and running on self-hosted runners using Windows.
- An Incredibuild Coordinator must already be installed.
- Install Incredibuild on the machines that have your Github Self-Hosted Runners and associate them with your Incredibuild Coordinator.
- Prepare a batch file with the Incredibuild build command. This depends on what you are building. For details, see Running Builds.
-
Add a Github Action Workflow
You define a Workflow that will call Incredibuild whenever Github Actions is triggered. If you already have a Github Action Workflow, you can refer to the code below as an example to make the relevant modifications to your existing Workflow.
- From your GitHub project repository, go to the Actions tab and add a new Workflow.
-
Choose Manual Workflow and click Configure.

-
Replace the content with the following code:
Copy
- Replace <path to batch file you just created> with the correct path.
Integrating with Github Actions when using Github-Hosted Runners
Because Github-Hosted Runners are dynamically created, the integration process involves setting up Github Actions to automatically install Incredibuild on the machines they create and connect them to your Coordinator. This requires you to use an Incredibuild floating initiator license on your Github hosted runner machines.- Github Actions must be up and running on Github-hosted runners using Windows.
- An Incredibuild Coordinator must already be installed.
- Make sure that the port 31104 on the Coordinator machine is open for traffic from the runner machines. Incredibuild Initiators will be installed on those runners and they will be connected to your Incredibuild Coordinator.
- Copy the Incredibuild installation file to a location that your Github Runners can access.
-
In Github Actions, create a manual workflow. If you already have a Github Action Workflow, you can refer to the code below as an example to make the relevant modifications to your existing Workflow:
- From your GitHub project repository, go to the Actions tab and add a new Workflow.
-
Choose Manual Workflow and click Configure.

-
Replace the content with the following code:
Copy
- Modify the code with the actual URL to your Github repository, Name of your Github project, and build command (instead of the line BuildConsole.exe…). To define your build command, see Running Builds. If you want to modify the Incredibuild installation command (IBSetupConsole.exe), see Silent Installation for details.