ci checkout submodules

This commit is contained in:
hathach 2020-03-24 10:24:38 +07:00
parent 94528ff65b
commit 86a8ffa430
1 changed files with 7 additions and 8 deletions

View File

@ -44,15 +44,14 @@ jobs:
- name: Checkout TinyUSB - name: Checkout TinyUSB
uses: actions/checkout@v2 uses: actions/checkout@v2
with:
submodules: 'recursive'
#- name: Checkout Submodules - name: Checkout Submodules
# shell: bash shell: bash
# run: | run: |
# auth_header="$(git config --local --get http.https://github.com/.extraheader)" #auth_header="$(git config --local --get http.https://github.com/.extraheader)"
# git submodule sync --recursive git submodule sync --recursive
# git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive #git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive
git submodule update --init --recursive
- name: Build - name: Build
run: python3 tools/build_all.py ${{ matrix.example }} run: python3 tools/build_all.py ${{ matrix.example }}