Update .gitea/workflows/ci.yml
This commit is contained in:
@@ -204,7 +204,6 @@ jobs:
|
|||||||
[ -d "$dir" ] || continue
|
[ -d "$dir" ] || continue
|
||||||
|
|
||||||
name=$(basename "$dir" | tr -d $'\r\n')
|
name=$(basename "$dir" | tr -d $'\r\n')
|
||||||
|
|
||||||
ini=$(find "$dir" -maxdepth 1 -iname "skin.ini" | head -n1 || true)
|
ini=$(find "$dir" -maxdepth 1 -iname "skin.ini" | head -n1 || true)
|
||||||
if [ -f "$ini" ]; then
|
if [ -f "$ini" ]; then
|
||||||
line=$(grep -i '^[[:space:]]*Name:' "$ini" | head -n1 || true)
|
line=$(grep -i '^[[:space:]]*Name:' "$ini" | head -n1 || true)
|
||||||
@@ -228,7 +227,6 @@ jobs:
|
|||||||
if [ "${#duplicates[@]}" -gt 0 ]; then
|
if [ "${#duplicates[@]}" -gt 0 ]; then
|
||||||
echo "⚠️ Duplicate skin.ini Names found:"
|
echo "⚠️ Duplicate skin.ini Names found:"
|
||||||
printf ' • %s\n' "${duplicates[@]}"
|
printf ' • %s\n' "${duplicates[@]}"
|
||||||
exit 1
|
|
||||||
else
|
else
|
||||||
echo "✓ No duplicate skin.ini Names detected."
|
echo "✓ No duplicate skin.ini Names detected."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user