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:
|
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: |
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user