Use submodule option. Fix #2792

This commit is contained in:
Emir Marincic 2020-09-19 22:16:10 +03:00 committed by GitHub
parent f3372b185e
commit af3f167f49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,12 +51,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Checkout submodules with:
shell: bash submodules: true
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: Prepare Linux - name: Prepare Linux
if: contains(matrix.os, 'ubuntu') if: contains(matrix.os, 'ubuntu')