From e81449eddf4f8b4648502a47f0089ebaa08dd54d Mon Sep 17 00:00:00 2001 From: Ilusha <63184036+IlyaShurupov@users.noreply.github.com> Date: Sat, 22 Jul 2023 20:36:06 +0300 Subject: [PATCH] Update cmake.yml - checkout submodules --- .github/workflows/cmake.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index b6b2020..9a2cd92 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -20,6 +20,15 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Checkout submodules # checkout rest + shell: bash + run: | + # If your submodules are configured to use SSH instead of HTTPS please uncomment the following line + # git config --global url."https://github.com/".insteadOf "git@github.com:" + 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: Install LLVM run: sudo apt-get install -y llvm