From 94528ff65bc984093a39ae102507f94f61af068c Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 24 Mar 2020 10:13:48 +0700 Subject: [PATCH] checkout v2 with submodule --- .github/workflows/build.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4cf2f1390..ba1008aee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,13 +44,15 @@ jobs: - name: Checkout TinyUSB uses: actions/checkout@v2 + with: + submodules: 'recursive' - - name: Checkout submodules - shell: bash - run: | - auth_header="$(git config --local --get http.https://github.com/.extraheader)" - git submodule sync --recursive - git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive + #- name: Checkout Submodules + # shell: bash + # run: | + # auth_header="$(git config --local --get http.https://github.com/.extraheader)" + # git submodule sync --recursive + # git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive - name: Build run: python3 tools/build_all.py ${{ matrix.example }}