From 6e4df81998399e86f18bb2db47e94b013f394846 Mon Sep 17 00:00:00 2001 From: Ha Thach Date: Fri, 27 Dec 2019 20:49:54 +0700 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d8b3e56e9..ff86e72cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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