Skip to content

Commit 1806073

Browse files
raiden00pllupyuen
authored andcommitted
.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 773f69d commit 1806073

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
@@ -183,7 +183,15 @@ jobs:
183183
run: |
184184
export ARTIFACTDIR=`pwd`/buildartifacts
185185
186-
pip install ntfc==0.0.1
186+
for i in 1 2 3; do
187+
python -m pip install \
188+
--default-timeout=100 \
189+
--retries 10 \
190+
ntfc==0.0.1 && break
191+
echo "Retry $i failed..."
192+
sleep 5
193+
done
194+
187195
mkdir /github/workspace/nuttx-ntfc
188196
mkdir /github/workspace/nuttx-ntfc/external
189197
cd /github/workspace/nuttx-ntfc

0 commit comments

Comments
 (0)