diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index fac95f80..083445bf 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -192,6 +192,12 @@ jobs: ref: ${{ inputs.REF || github.ref }} fetch-depth: 0 + - name: Update git + if: ${{ inputs.SUBMODULES_RECURSIVE == true && inputs.SUBMODULES_PRIVATE == true }} + run: | + sudo apt update + sudo apt install -y git + - uses: actions/checkout@v4 name: Checkout private submoules recursively id: private diff --git a/.github/workflows/ci-check.yml b/.github/workflows/ci-check.yml index 54445d86..ad7c6039 100644 --- a/.github/workflows/ci-check.yml +++ b/.github/workflows/ci-check.yml @@ -134,6 +134,12 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + + - name: Update git + if: ${{ inputs.SUBMODULES_RECURSIVE == true }} + run: | + sudo apt update + sudo apt install -y git - uses: actions/checkout@v4 if: ${{ inputs.SUBMODULES_RECURSIVE == true }}