Skip to content

Commit f53701c

Browse files
committed
.github/build.yml: improve ntfc installation
increase retries and timeout for pip install and try again in case of failure Signed-off-by: raiden00pl <raiden00@railab.me>
1 parent 67f1cd2 commit f53701c

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,15 @@ jobs:
192192
run: |
193193
export ARTIFACTDIR=`pwd`/buildartifacts
194194
195-
pip install ntfc==0.0.1
195+
for i in 1 2 3; do
196+
python -m pip install \
197+
--default-timeout=100 \
198+
--retries 10 \
199+
ntfc==0.0.1 && break
200+
echo "Retry $i failed..."
201+
sleep 5
202+
done
203+
196204
mkdir /github/workspace/nuttx-ntfc
197205
mkdir /github/workspace/nuttx-ntfc/external
198206
cd /github/workspace/nuttx-ntfc

0 commit comments

Comments
 (0)