generated from osc/skins-template
Update .gitea/workflows/test-skins.yml
This commit is contained in:
@@ -212,13 +212,18 @@ jobs:
|
||||
echo ""
|
||||
|
||||
# Display all links grouped by skin
|
||||
if [ ${#skin_all_files[@]} -gt 0 ]; then
|
||||
for skin in "${!skin_all_files[@]}"; do
|
||||
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"
|
||||
done
|
||||
done < /tmp/skin_files_$$.txt
|
||||
rm -f /tmp/skin_files_$$.txt
|
||||
echo ""
|
||||
done
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@@ -311,13 +316,18 @@ jobs:
|
||||
echo ""
|
||||
|
||||
# Display all images grouped by skin
|
||||
if [ ${#skin_all_images[@]} -gt 0 ]; then
|
||||
for skin in "${!skin_all_images[@]}"; do
|
||||
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"
|
||||
done
|
||||
done < /tmp/skin_images_$$.txt
|
||||
rm -f /tmp/skin_images_$$.txt
|
||||
echo ""
|
||||
done
|
||||
fi
|
||||
|
||||
# Don't fail the workflow for missing images, just warn
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user