fix(ci): handle existing dependency directories
CI / Build and Test (push) Failing after 21s
Details
CI / Build and Test (push) Failing after 21s
Details
This commit is contained in:
parent
fcbc96b123
commit
b92ec056ff
|
|
@ -21,10 +21,27 @@ jobs:
|
|||
|
||||
- name: Checkout dependencies
|
||||
run: |
|
||||
git clone https://git.marketally.com/tutus-one/tutus-bolt.git C:\tutus-bolt
|
||||
git clone https://git.marketally.com/tutus-one/tutus-consensus.git C:\tutus-consensus
|
||||
git clone https://git.marketally.com/tutus-one/tutus-ordered-json.git C:\tutus-ordered-json
|
||||
git clone https://git.marketally.com/tutus-one/tutus-rfc6979.git C:\tutus-rfc6979
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Reference in New Issue