fix(ci): handle existing dependency directories
CI / Build and Test (push) Failing after 21s Details

This commit is contained in:
MarketAlly Admin 2025-12-28 06:33:29 -05:00
parent fcbc96b123
commit b92ec056ff
1 changed files with 21 additions and 4 deletions

View File

@ -21,10 +21,27 @@ jobs:
- name: Checkout dependencies
run: |
# Clone or update dependency repos
if (Test-Path C:\tutus-bolt) {
Push-Location C:\tutus-bolt; git pull; Pop-Location
} else {
git clone https://git.marketally.com/tutus-one/tutus-bolt.git C:\tutus-bolt
}
if (Test-Path C:\tutus-consensus) {
Push-Location C:\tutus-consensus; git pull; Pop-Location
} else {
git clone https://git.marketally.com/tutus-one/tutus-consensus.git C:\tutus-consensus
}
if (Test-Path C:\tutus-ordered-json) {
Push-Location C:\tutus-ordered-json; git pull; Pop-Location
} else {
git clone https://git.marketally.com/tutus-one/tutus-ordered-json.git C:\tutus-ordered-json
}
if (Test-Path C:\tutus-rfc6979) {
Push-Location C:\tutus-rfc6979; git pull; Pop-Location
} else {
git clone https://git.marketally.com/tutus-one/tutus-rfc6979.git C:\tutus-rfc6979
}
- name: Update go.mod for CI
working-directory: tutus-chain