mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-28 19:23:52 +08:00
CI: remove header hacks when checking out submodules (#995)
This commit is contained in:
4
.github/workflows/test.yaml
vendored
4
.github/workflows/test.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user