Building the project using GitHub Actions

You can use GitHub Actions (which is free for open-source projects) to build the application. Using the provided workflow, you can quickly set up the environment for building your application using a fork.

After you have forked the repository, enable GitHub Actions and locate the Actions tab in your repository, which lists the Action runs.

Configuration for firmware connecting to the nRF Asset Tracker for Azure

Navigate to the settings of the repository and configure the secret AZURE_IOT_HUB_DPS_ID_SCOPE and assign the DPS ID scope of your Azure IoT Hub Device Provisioning to it.

To retrieve the value for the Azure IoT DPS ID scope secret, use the following command:

./cli.sh info -o iotHubDpsIdScope

Commit a change to your repository and the GitHub Action will build the application and attach the HEX files to a release.