mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-14 18:40:37 +00:00
checkout v2 with submodule
This commit is contained in:
parent
c05990af95
commit
94528ff65b
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user