add fix inshallah
This commit is contained in:
@@ -26,6 +26,7 @@ runs:
|
|||||||
id: discover_all
|
id: discover_all
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
echo "→ Running in shell: $SHELL (bash version: $BASH_VERSION)"
|
||||||
echo "Discovering all skins in $SKINS_DIR…"
|
echo "Discovering all skins in $SKINS_DIR…"
|
||||||
mapfile -t skins < <(
|
mapfile -t skins < <(
|
||||||
find "$SKINS_DIR" -mindepth 1 -maxdepth 1 -type d \
|
find "$SKINS_DIR" -mindepth 1 -maxdepth 1 -type d \
|
||||||
@@ -44,12 +45,14 @@ runs:
|
|||||||
id: detect
|
id: detect
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
echo "→ Running in shell: $SHELL (bash version: $BASH_VERSION)"
|
||||||
echo "[Detect Changed Skin Directories Started]"
|
echo "[Detect Changed Skin Directories Started]"
|
||||||
|
|
||||||
# Parse JSON back into Bash array
|
# 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")
|
all_skins+=("$skin")
|
||||||
done
|
done < <(echo '${{ steps.discover_all.outputs.all_skins }}' | jq -r '.[]')
|
||||||
|
|
||||||
force_rebuild="${{ inputs.force_rebuild }}"
|
force_rebuild="${{ inputs.force_rebuild }}"
|
||||||
target_skins="${{ inputs.target_skins }}"
|
target_skins="${{ inputs.target_skins }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user