mirror of
https://github.com/apache/nuttx.git
synced 2026-09-30 02:53:49 +00:00
.github/workflows/build.yml: bump NTFC to 0.0.3
Install the published NTFC 0.0.3 package from PyPI instead of the temporary upstream main dependency. Keep the retry loop and fail the job when all installation attempts are exhausted. Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
parent
885bdef4c3
commit
8f4a5b2bd3
1 changed files with 10 additions and 2 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
|
@ -348,10 +348,18 @@ jobs:
|
|||
export ARTIFACTDIR=`pwd`/buildartifacts
|
||||
|
||||
for i in 1 2 3; do
|
||||
python -m pip install \
|
||||
if python -m pip install \
|
||||
--default-timeout=100 \
|
||||
--retries 10 \
|
||||
ntfc==0.0.1 && break
|
||||
ntfc==0.0.3; then
|
||||
break
|
||||
fi
|
||||
|
||||
if [ "$i" -eq 3 ]; then
|
||||
echo "Failed to install NTFC after $i attempts"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Retry $i failed..."
|
||||
sleep 5
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue