release/v0.8.0 #49
1 changed files with 8 additions and 1 deletions
|
|
@ -22,7 +22,14 @@ jobs:
|
||||||
restore-keys: composer-
|
restore-keys: composer-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --no-interaction --prefer-dist
|
run: |
|
||||||
|
for attempt in 1 2 3 4 5; do
|
||||||
|
echo "composer install attempt $attempt/5"
|
||||||
|
composer install --no-interaction --prefer-dist && exit 0
|
||||||
|
echo "composer install failed (attempt $attempt/5), retrying in 30s..."
|
||||||
|
sleep 30
|
||||||
|
done
|
||||||
|
exit 1
|
||||||
|
|
||||||
- name: Prepare environment
|
- name: Prepare environment
|
||||||
run: cp .env.testing .env
|
run: cp .env.testing .env
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue