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
CI Test Suite / Run Component Tests & Pipeline Verification (push) Failing after 15s
This commit is contained in:
@@ -19,6 +19,16 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
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
|
||||
run: |
|
||||
|
||||
@@ -18,6 +18,16 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
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
|
||||
run: |
|
||||
@@ -62,6 +72,7 @@ jobs:
|
||||
}
|
||||
git fetch --depth 1 origin "${{ github.sha }}"
|
||||
git checkout -f FETCH_HEAD
|
||||
git submodule update --init --recursive
|
||||
|
||||
- name: Install Dependencies
|
||||
shell: powershell
|
||||
|
||||
Reference in New Issue
Block a user