mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
.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>
This commit is contained in:
parent
773f69d5d9
commit
180607372a
1 changed files with 9 additions and 1 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
|
@ -183,7 +183,15 @@ jobs:
|
|||
run: |
|
||||
export ARTIFACTDIR=`pwd`/buildartifacts
|
||||
|
||||
pip install ntfc==0.0.1
|
||||
for i in 1 2 3; do
|
||||
python -m pip install \
|
||||
--default-timeout=100 \
|
||||
--retries 10 \
|
||||
ntfc==0.0.1 && break
|
||||
echo "Retry $i failed..."
|
||||
sleep 5
|
||||
done
|
||||
|
||||
mkdir /github/workspace/nuttx-ntfc
|
||||
mkdir /github/workspace/nuttx-ntfc/external
|
||||
cd /github/workspace/nuttx-ntfc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue