builf: Add step "Check for failed builds"

This commit is contained in:
remittor
2025-12-31 15:14:43 +03:00
parent 08cccf41b7
commit aed5f171a8

View File

@@ -409,6 +409,16 @@ jobs:
with: with:
pattern: openwrt-* pattern: openwrt-*
- name: Check for failed builds
run: |
echo "Checking for FAILED.txt in openwrt-* directories..."
FAILED_DIRS=$( find . -maxdepth 1 -type d -name 'openwrt-*' -exec test -f '{}/FAILED.txt' \; -print )
if [ -n "$FAILED_DIRS" ]; then
echo "❌ Build failures detected in:"
exit 201
fi
echo "✅ No FAILED.txt found, proceeding to release"
- name: Put images into zip - name: Put images into zip
run: | run: |
mkdir -p public mkdir -p public