chore: update ci
This commit is contained in:
@@ -34,7 +34,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Install EAS CLI & tooling
|
- name: Install EAS CLI & tooling
|
||||||
run: |
|
run: |
|
||||||
npm install -g eas-cli
|
n=0
|
||||||
|
until [ $n -ge 3 ]; do
|
||||||
|
npm install -g eas-cli && break
|
||||||
|
n=$((n + 1))
|
||||||
|
echo "npm install -g eas-cli failed (attempt $n/3), cleaning up and retrying in 5s..."
|
||||||
|
npm uninstall -g eas-cli >/dev/null 2>&1 || true
|
||||||
|
rm -rf "$(npm root -g)/eas-cli" "$(npm root -g)"/.eas-cli-* 2>/dev/null || true
|
||||||
|
sleep 5
|
||||||
|
done
|
||||||
|
command -v eas >/dev/null || { echo "::error::eas-cli installation failed after 3 attempts"; exit 1; }
|
||||||
pip install -r scripts/requirements.txt awscli --quiet
|
pip install -r scripts/requirements.txt awscli --quiet
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
@@ -34,7 +34,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Install EAS CLI & tooling
|
- name: Install EAS CLI & tooling
|
||||||
run: |
|
run: |
|
||||||
npm install -g eas-cli
|
n=0
|
||||||
|
until [ $n -ge 3 ]; do
|
||||||
|
npm install -g eas-cli && break
|
||||||
|
n=$((n + 1))
|
||||||
|
echo "npm install -g eas-cli failed (attempt $n/3), cleaning up and retrying in 5s..."
|
||||||
|
npm uninstall -g eas-cli >/dev/null 2>&1 || true
|
||||||
|
rm -rf "$(npm root -g)/eas-cli" "$(npm root -g)"/.eas-cli-* 2>/dev/null || true
|
||||||
|
sleep 5
|
||||||
|
done
|
||||||
|
command -v eas >/dev/null || { echo "::error::eas-cli installation failed after 3 attempts"; exit 1; }
|
||||||
pip install -r scripts/requirements.txt awscli --quiet
|
pip install -r scripts/requirements.txt awscli --quiet
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user