From af466607cc6e305a0aa039499aa11aa3850e052d Mon Sep 17 00:00:00 2001 From: fithwum Date: Wed, 9 Jul 2025 08:53:39 -0700 Subject: [PATCH] fghfdghfdgh --- .gitea/workflows/base-build.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/base-build.yml b/.gitea/workflows/base-build.yml index c45cef0..fae8e22 100644 --- a/.gitea/workflows/base-build.yml +++ b/.gitea/workflows/base-build.yml @@ -192,12 +192,22 @@ jobs: GIT_CREDENTIAL="${{ secrets.GIT_TOKEN || secrets.GIT_PASSWORD }}" for i in {1..5}; do echo "Attempt $i: Cloning upload-repo..." - if git clone --depth=10 "https://${{ env.GIT_USERNAME }}:${GIT_CREDENTIAL}@gitea.fithwum.tech/fithwum/debian-base.git" upload-repo; then + if git clone --depth=10 --filter=blob:none --no-checkout "https://${{ env.GIT_USERNAME }}:${GIT_CREDENTIAL}@gitea.fithwum.tech/fithwum/debian-base.git" upload-repo; then break fi sleep 10 done + if [ ! -d upload-repo ]; then + echo "[ERROR] Failed to clone upload repo." + exit 1 + fi + + cd upload-repo + git sparse-checkout init --cone + git sparse-checkout set */build-info.json */CHANGES.md + git checkout + - name: Generate per-version changelogs run: | cd upload-repo