summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2019-12-27 20:49:54 +0700
committerGitHub <[email protected]>2019-12-27 20:49:54 +0700
commit6e4df81998399e86f18bb2db47e94b013f394846 (patch)
tree8dca818abc54a861b6d7be74cacd93d07a99a3ea /.github
parent424063afd14dadf52cf3019da7c695830d72a557 (diff)
Update build.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml10
1 files 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