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

old-commit-hash: e2c784740a869d35e78833ae77d3d30d89935d9d
This commit is contained in:
Willem Melching
2020-01-23 12:40:40 -08:00
committed by GitHub
parent 3b9444e5da
commit bf9172b381

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