From e285b8a6a77bf3e68ae6b6d512e46c2c16506d91 Mon Sep 17 00:00:00 2001 From: Arlind Sulejmani Date: Tue, 28 Oct 2025 22:06:11 +0100 Subject: [PATCH] add fix inshallah --- .gitea/actions/cleanup/action.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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