Update .gitea/workflows/test-skins.yml
All checks were successful
Generate Skin previews, OSK files and per skin documentation / Full CI/CD Pipeline (push) Successful in 10s

This commit is contained in:
2025-11-23 14:13:05 +01:00
parent 3cca1ba9f5
commit 50e5da55a3

View File

@@ -221,9 +221,17 @@ jobs:
echo ""
done
echo ""
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
# Exit with error if files are missing
if [ $total_missing -gt 0 ]; then
echo "❌ SUMMARY: Workflow failed due to $total_missing missing markdown file(s)"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
exit 1
else
echo "✅ SUMMARY: All checks passed!"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
fi
- name: Check for broken image references
@@ -247,7 +255,7 @@ jobs:
current_skin="${BASH_REMATCH[1]}"
fi
# Check for image links
if [[ "$line" =~ !\[.*\]\(([^)]+\.(png|jpg|jpeg|gif|webp|svg)) ]]; then
if [[ "$line" =~ !\[.*\]\(([^\)]+\.(png|jpg|jpeg|gif|webp|svg)) ]]; then
link="${BASH_REMATCH[1]}"
# Skip external URLs
if [[ ! "$link" =~ ^https?:// ]]; then