X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=.github%2Fworkflows%2Fmaven.yml;h=d9ea203b366322a07ec6bbe2657f716a3dde1696;hb=b456eecf8d1563c7e0ca64a5bc2cf146173dc3ff;hp=0eee55b4b70d01a3e2f5a2f460a67939358dbc65;hpb=ddf06645140dde4b6c17e81fc271c3dc0f0e4818;p=Mograsim.git diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0eee55b4..d9ea203b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -9,6 +9,12 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Checkout submodules # See https://github.com/actions/checkout#Checkout-submodules + shell: bash + 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 - name: Set up JDK 11 uses: actions/setup-java@v1 with: