generated from osc/skins-template
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
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:
@@ -221,9 +221,17 @@ jobs:
|
|||||||
echo ""
|
echo ""
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||||
|
|
||||||
# Exit with error if files are missing
|
# Exit with error if files are missing
|
||||||
if [ $total_missing -gt 0 ]; then
|
if [ $total_missing -gt 0 ]; then
|
||||||
|
echo "❌ SUMMARY: Workflow failed due to $total_missing missing markdown file(s)"
|
||||||
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||||
exit 1
|
exit 1
|
||||||
|
else
|
||||||
|
echo "✅ SUMMARY: All checks passed!"
|
||||||
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Check for broken image references
|
- name: Check for broken image references
|
||||||
@@ -247,7 +255,7 @@ jobs:
|
|||||||
current_skin="${BASH_REMATCH[1]}"
|
current_skin="${BASH_REMATCH[1]}"
|
||||||
fi
|
fi
|
||||||
# Check for image links
|
# 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]}"
|
link="${BASH_REMATCH[1]}"
|
||||||
# Skip external URLs
|
# Skip external URLs
|
||||||
if [[ ! "$link" =~ ^https?:// ]]; then
|
if [[ ! "$link" =~ ^https?:// ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user