From 57ddcbf97ca35375835a3632e9d21355082b80a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Thu, 16 Jan 2020 02:01:37 -0300 Subject: [PATCH] Update eepp-build-check.yml Test 3 checkout submodules. --- .github/workflows/eepp-build-check.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/eepp-build-check.yml b/.github/workflows/eepp-build-check.yml index 2261030e6..9fa0303d7 100644 --- a/.github/workflows/eepp-build-check.yml +++ b/.github/workflows/eepp-build-check.yml @@ -11,9 +11,13 @@ jobs: with: fetch-depth: 2 ref: develop - shell: bash - run: | - git submodule sync --recursive + - 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 --depth=1 - name: Install dependencies run: | sudo apt-get update