|
@@ -180,6 +180,8 @@ jobs:
|
|
- name: Checkout submodules
|
|
- name: Checkout submodules
|
|
shell: bash
|
|
shell: bash
|
|
run: |
|
|
run: |
|
|
|
|
+ # If your submodules are configured to use SSH instead of HTTPS please uncomment the following line
|
|
|
|
+ # git config --global url."https://github.com/".insteadOf "git@github.com:"
|
|
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
|
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
|
git submodule sync --recursive
|
|
git submodule sync --recursive
|
|
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
|
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|