diff --git a/.gitea/actions/discover-skins/action.yml b/.gitea/actions/discover-skins/action.yml index 6efe09f..69bd1a7 100644 --- a/.gitea/actions/discover-skins/action.yml +++ b/.gitea/actions/discover-skins/action.yml @@ -26,7 +26,6 @@ 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 \ @@ -49,10 +48,7 @@ runs: echo "[Detect Changed Skin Directories Started]" # Parse JSON back into Bash array - all_skins=() - while IFS= read -r skin; do - all_skins+=("$skin") - done < <(echo '${{ steps.discover_all.outputs.all_skins }}' | jq -r '.[]') + mapfile -t all_skins < <(echo '${{ steps.discover_all.outputs.all_skins }}' | jq -r '.[]') force_rebuild="${{ inputs.force_rebuild }}" target_skins="${{ inputs.target_skins }}"