This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 8f4a5b2bd3bb33f35e3fa76940b5bf2ce92b100b
Author: raiden00pl <[email protected]>
AuthorDate: Wed Sep 2 14:11:14 2026 +0200

    .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 <[email protected]>
---
 .github/workflows/build.yml | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0495f885e1b..2cbe7b8251c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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

Reply via email to