Update .gitea/workflows/test-skins.yml

This commit is contained in:
2025-11-23 14:18:45 +01:00
parent 3867174bf9
commit af2636930e

View File

@@ -212,13 +212,18 @@ jobs:
echo "" echo ""
# Display all links grouped by skin # Display all links grouped by skin
if [ ${#skin_all_files[@]} -gt 0 ]; then
for skin in "${!skin_all_files[@]}"; do for skin in "${!skin_all_files[@]}"; do
echo "📄 $skin:" echo "📄 $skin:"
echo "${skin_all_files[$skin]}" | while IFS= read -r line; do # Save to temp file to avoid subshell issues with pipes
printf '%s\n' "${skin_all_files[$skin]}" > /tmp/skin_files_$$.txt
while IFS= read -r line; do
[ -n "$line" ] && echo " $line" [ -n "$line" ] && echo " $line"
done done < /tmp/skin_files_$$.txt
rm -f /tmp/skin_files_$$.txt
echo "" echo ""
done done
fi
echo "" echo ""
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
@@ -311,13 +316,18 @@ jobs:
echo "" echo ""
# Display all images grouped by skin # Display all images grouped by skin
if [ ${#skin_all_images[@]} -gt 0 ]; then
for skin in "${!skin_all_images[@]}"; do for skin in "${!skin_all_images[@]}"; do
echo "🖼️ $skin:" echo "🖼️ $skin:"
echo "${skin_all_images[$skin]}" | while IFS= read -r line; do # Save to temp file to avoid subshell issues with pipes
printf '%s\n' "${skin_all_images[$skin]}" > /tmp/skin_images_$$.txt
while IFS= read -r line; do
[ -n "$line" ] && echo " $line" [ -n "$line" ] && echo " $line"
done done < /tmp/skin_images_$$.txt
rm -f /tmp/skin_images_$$.txt
echo "" echo ""
done done
fi
# Don't fail the workflow for missing images, just warn # Don't fail the workflow for missing images, just warn
exit 0 exit 0