Skip to content

Commit 04cca54

Browse files
committed
perf: clone with --recurse-submodules
1 parent 797d688 commit 04cca54

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/pi_merge_parent_image.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -164,16 +164,14 @@ jobs:
164164

165165
- name: Clone ${{ matrix.app }}
166166
run: |
167-
git clone https://oauth2:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository_owner }}/${{ matrix.app }}.git
167+
git clone --recurse-submodules https://oauth2:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository_owner }}/${{ matrix.app }}.git
168168
cd ${{ github.workspace }}/${{ matrix.app }}
169169
170170
git config user.email "[email protected]"
171171
git config user.name "GitHub Actions"
172172
173173
git checkout -b ${{ needs.configure-branch-name.outputs.gh_head_ref }} || git checkout ${{ needs.configure-branch-name.outputs.gh_head_ref }}
174174
175-
bash smodules init
176-
177175
- name: Compile Requirements (Python)
178176
if: matrix.parent_image_type != 'next'
179177
run: |

0 commit comments

Comments
 (0)