From ee8841590a112c299af9fc551cd07b09fb0da544 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Tue, 23 Jun 2026 15:42:43 +0300 Subject: [PATCH] ci: recursive submodules --- .forgejo/workflows/build.yaml | 2 +- .forgejo/workflows/release.yaml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 3a8cfa3..32d7d70 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -16,7 +16,7 @@ jobs: - name: Checkout submodules run: | sed -i 's#https://code\.gri\.mw#${{ secrets.REPO_HOST }}#g' .gitmodules - git submodule update --init + git submodule update --init --recursive --remote - name: Check commit id: check run: | diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml index 98b11c9..8b5e69b 100644 --- a/.forgejo/workflows/release.yaml +++ b/.forgejo/workflows/release.yaml @@ -21,7 +21,7 @@ jobs: - name: Checkout submodules run: | sed -i 's#https://code\.gri\.mw#${{ secrets.REPO_HOST }}#g' .gitmodules - git submodule update --init + git submodule update --init --recursive --remote - name: Get version id: version run: | @@ -86,7 +86,7 @@ jobs: - name: Checkout submodules run: | sed -i -- 's#https://code\.gri\.mw#${{ secrets.REPO_HOST }}#g' .gitmodules - git submodule update --init + git submodule update --init --recursive --remote - name: Restore cargo cache id: cache-cargo-restore uses: actions/cache/restore@v5 @@ -188,7 +188,7 @@ jobs: - name: Checkout submodules run: | sed -i 's#https://code\.gri\.mw#${{ secrets.REPO_HOST }}#g' .gitmodules - git submodule update --init + git submodule update --init --recursive --remote - name: Restore cargo cache id: cache-cargo-restore uses: actions/cache/restore@v5 @@ -255,7 +255,7 @@ jobs: - name: Checkout submodules run: | sed -i 's#https://code\.gri\.mw#${{ secrets.REPO_HOST }}#g' .gitmodules - git submodule update --init + git submodule update --init --recursive --remote - name: Restore cargo cache id: cache-cargo-restore uses: actions/cache/restore@v5 @@ -307,7 +307,7 @@ jobs: - name: Checkout submodules run: | sed -i -- 's#https://code\.gri\.mw#${{ secrets.REPO_HOST }}#g' .gitmodules - git submodule update --init + git submodule update --init --recursive --remote - run: mkdir release - name: Restore cargo cache id: cache-cargo-restore @@ -360,7 +360,7 @@ jobs: - name: Checkout submodules run: | (Get-content .gitmodules) | Foreach-Object {$_ -replace "https://code.gri.mw", "${{ secrets.REPO_HOST }}"} | Set-Content .gitmodules - git submodule update --init + git submodule update --init --recursive --remote - name: Update UpgradeCode shell: powershell run: |