CI: remove header hacks when checking out submodules (#995)

pull/962/head
Willem Melching 2020-01-23 12:40:40 -08:00 committed by GitHub
parent 9ff1a54c8d
commit e2c784740a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -14,9 +14,7 @@ jobs:
- uses: actions/checkout@v2
- name: Checkout submodules
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
git submodule update --init
- run: |
docker build -t tmppilot -f Dockerfile.openpilot .
docker save tmppilot:latest | gzip > tmppilot.tar.gz