Skip to content

Commit cb5fdc5

Browse files
authored
Enable submodule checkout in build workflow
1 parent 67d5ad1 commit cb5fdc5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ jobs:
3636
repository: ${{ github.event.inputs.gitrepo }}
3737
ref: ${{ github.event.inputs.gitref }}
3838
path: repo
39+
submodules: 'true'
3940
- name: "Checkout remote repository (Remote)"
4041
if: contains(github.event.inputs.gitrepo, ':')
4142
run: |
42-
git clone ${{ github.event.inputs.gitrepo }} repo
43+
git clone ${{ github.event.inputs.gitrepo }} repo --recurse-submodules
4344
cd repo
4445
git checkout ${{ github.event.inputs.gitref }}
4546
- name: "Install dependencies"

0 commit comments

Comments
 (0)