add fix inshallah

This commit is contained in:
2025-10-28 21:42:25 +01:00
parent b1859fde81
commit d64a185b93

View File

@@ -26,6 +26,7 @@ runs:
id: discover_all
shell: bash
run: |
echo "→ Running in shell: $SHELL (bash version: $BASH_VERSION)"
echo "Discovering all skins in $SKINS_DIR…"
mapfile -t skins < <(
find "$SKINS_DIR" -mindepth 1 -maxdepth 1 -type d \
@@ -44,12 +45,14 @@ runs:
id: detect
shell: bash
run: |
echo "→ Running in shell: $SHELL (bash version: $BASH_VERSION)"
echo "[Detect Changed Skin Directories Started]"
# Parse JSON back into Bash array
echo '${{ steps.discover_all.outputs.all_skins }}' | jq -r '.[]' | while IFS= read -r skin; do
all_skins=()
while IFS= read -r skin; do
all_skins+=("$skin")
done
done < <(echo '${{ steps.discover_all.outputs.all_skins }}' | jq -r '.[]')
force_rebuild="${{ inputs.force_rebuild }}"
target_skins="${{ inputs.target_skins }}"