.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:
raiden00pl 2026-09-02 14:11:14 +02:00 • committed by Xiang Xiao
parent 885bdef4c3
commit 8f4a5b2bd3

View file

@ -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