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

pull/962/head
Willem Melching 5 years ago committed by GitHub
parent 9ff1a54c8d
commit e2c784740a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/test.yaml

@ -14,9 +14,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Checkout submodules - name: Checkout submodules
run: | run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)" git submodule update --init
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- run: | - run: |
docker build -t tmppilot -f Dockerfile.openpilot . docker build -t tmppilot -f Dockerfile.openpilot .
docker save tmppilot:latest | gzip > tmppilot.tar.gz docker save tmppilot:latest | gzip > tmppilot.tar.gz

Loading…
Cancel
Save