diff --git a/.gitea/actions/cleanup/action.yml b/.gitea/actions/cleanup/action.yml index a7096fe..9114bd0 100644 --- a/.gitea/actions/cleanup/action.yml +++ b/.gitea/actions/cleanup/action.yml @@ -15,7 +15,14 @@ runs: set -euo pipefail echo "[Cleanup Extra Files Started]" - readarray -t skins < <(echo '${{ inputs.all_skins }}' | jq -r '.[]') + # Read from shared file to avoid GitHub Actions template expansion issues + all_skins_file="/tmp/all_skins_shared.json" + if [ ! -f "$all_skins_file" ]; then + echo "Error: $all_skins_file not found" + exit 1 + fi + + readarray -t skins < <(jq -r '.[]' "$all_skins_file") [ -f how-to-use.md ] && rm -f -- how-to-use.md [ -f src/replay.osr ] && rm -f -- src/replay.osr