ci: enable recursive submodule checkout and fallback init in ci and release workflows
CI Test Suite / Run Component Tests & Pipeline Verification (push) Failing after 15s

This commit is contained in:
2026-09-25 22:37:32 +02:00
parent c3bb440eff
commit 777d6300a8
2 changed files with 21 additions and 0 deletions
+10
View File
@@ -19,6 +19,16 @@ jobs:
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.TAG_TOKEN || secrets.GITEA_TOKEN || github.token }}
fetch-depth: 0
- name: Ensure Submodules Initialized
run: |
if [ ! -f LOGAR-LICENSING/License_Authority.py ]; then
git submodule update --init --recursive || true
fi
- name: Install Dependencies - name: Install Dependencies
run: | run: |
+11
View File
@@ -18,6 +18,16 @@ jobs:
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.TAG_TOKEN || secrets.GITEA_TOKEN || github.token }}
fetch-depth: 0
- name: Ensure Submodules Initialized
run: |
if [ ! -f LOGAR-LICENSING/License_Authority.py ]; then
git submodule update --init --recursive || true
fi
- name: Install Python and Build Dependencies - name: Install Python and Build Dependencies
run: | run: |
@@ -62,6 +72,7 @@ jobs:
} }
git fetch --depth 1 origin "${{ github.sha }}" git fetch --depth 1 origin "${{ github.sha }}"
git checkout -f FETCH_HEAD git checkout -f FETCH_HEAD
git submodule update --init --recursive
- name: Install Dependencies - name: Install Dependencies
shell: powershell shell: powershell