Update build.yml

This commit is contained in:
Ha Thach 2019-12-27 20:49:54 +07:00 committed by GitHub
parent 424063afd1
commit 6e4df81998
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -21,9 +21,13 @@ jobs:
xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest
xpm install --global @xpack-dev-tools/riscv-none-embed-gcc@latest
- name: Git clone
uses: actions/checkout@v1
with:
submodules: true
uses: actions/checkout@v2
- 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: Unit Tests
run: |
# Install Ceedling