2879: Use submodule option. Fix #2792 r=def- a=Learath2



Co-authored-by: Emir Marincic <learath2@gmail.com>
This commit is contained in:
bors[bot] 2020-09-19 20:05:47 +00:00 committed by GitHub
commit 5d7f9698ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')