Skip to content

Commit bad80ef

Browse files
committed
fix idf submodules init
1 parent 1e2d0a4 commit bad80ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ jobs:
523523
path: ${{ github.workspace }}/.idf_tools
524524
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/espressif/esp-idf/HEAD') }}-${{ steps.py3.outputs.python-path }}-20220404
525525
- name: Clone IDF submodules
526-
run: git submodule update --init $IDF_PATH
526+
run: cd $IDF_PATH && git submodule update --init --depth=1
527527
env:
528528
IDF_PATH: ${{ github.workspace }}/ports/espressif/esp-idf
529529
- name: Install IDF tools

0 commit comments

Comments
 (0)