Skip to content

Commit 309d66a

Browse files
CI: Ensure necessary repos are cloned with submodules. (#292)
1 parent 50eef90 commit 309d66a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
uses: actions/checkout@v3
4848
with:
4949
path: libraries/codal-microbit-v2
50+
submodules: 'recursive'
5051
# Changing the commit SHA might be unnecessary, as we've already cloned this
5152
# repo, but could be useful to ensure codal.json points to the same commit
5253
- name: Modify codal.json files to use this codal-microbit-v2 commit

.github/workflows/micropython.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/checkout@v3
1616
with:
1717
repository: 'microbit-foundation/micropython-microbit-v2'
18-
submodules: true
18+
submodules: 'recursive'
1919
- name: Setup arm-none-eabi-gcc v10.3
2020
uses: carlosperate/arm-none-eabi-gcc-action@v1
2121
with:

.github/workflows/size-diff.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
with:
4949
path: libraries/codal-microbit-v2
5050
fetch-depth: '0'
51+
submodules: 'recursive'
5152
# Unless manually triggered via workflow_dispatch this will be an empty
5253
# string, checking out the default commit for the commit/branch/PR
5354
ref: ${{ github.event.inputs.new-commit }}

0 commit comments

Comments
 (0)