add fix inshallah
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user