Skip to content

Commit 497d76e

Browse files
committed
github: build: Fix master branch build for Build HAT.
The master branch uses a different step that doesn't run in pull requests, so we missed that we need to checkout submodules in that step.
1 parent 9cd476f commit 497d76e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ jobs:
125125
run: |
126126
export MICROPY_GIT_TAG=ci-build-${{ github.run_number }}-$(git describe --tags --dirty --always --exclude "@pybricks/*")
127127
export MICROPY_GIT_HASH=$(echo ${{ github.sha }} | cut -c1-8)
128+
[ "${{ matrix.hub }}" = "buildhat" ] && make -C bricks/${{ matrix.hub }} submodules
128129
make -C bricks/${{ matrix.hub }}
129130
- name: Extract firmware.zip for upload
130131
if: ${{ success()}}

0 commit comments

Comments
 (0)