From af3f167f4991940e60a955fdca814588c7096a6e Mon Sep 17 00:00:00 2001 From: Emir Marincic Date: Sat, 19 Sep 2020 22:16:10 +0300 Subject: [PATCH] Use submodule option. Fix #2792 --- .github/workflows/build.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b9e0ae859..1c52c984d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -51,12 +51,8 @@ jobs: steps: - 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 + with: + submodules: true - name: Prepare Linux if: contains(matrix.os, 'ubuntu')