From 146d69adfed6cf8184330c263fd115d4baa3564d Mon Sep 17 00:00:00 2001 From: fithwum Date: Wed, 9 Jul 2025 08:31:50 -0700 Subject: [PATCH] fdfghfdghdfg --- .gitea/workflows/base-build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/base-build.yml b/.gitea/workflows/base-build.yml index 5ba85ca..c45cef0 100644 --- a/.gitea/workflows/base-build.yml +++ b/.gitea/workflows/base-build.yml @@ -190,7 +190,13 @@ jobs: - name: Clone upload repo run: | GIT_CREDENTIAL="${{ secrets.GIT_TOKEN || secrets.GIT_PASSWORD }}" - git clone --depth=10 "https://${{ env.GIT_USERNAME }}:${GIT_CREDENTIAL}@gitea.fithwum.tech/fithwum/debian-base.git" upload-repo + 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 + break + fi + sleep 10 + done - name: Generate per-version changelogs run: | @@ -249,7 +255,7 @@ jobs: - name: Clone upload repo run: | GIT_CREDENTIAL="${{ secrets.GIT_TOKEN || secrets.GIT_PASSWORD }}" - git clone "https://${{ env.GIT_USERNAME }}:${GIT_CREDENTIAL}@gitea.fithwum.tech/fithwum/debian-base.git" upload-repo + git clone --depth=1 "https://${{ env.GIT_USERNAME }}:${GIT_CREDENTIAL}@gitea.fithwum.tech/fithwum/debian-base.git" upload-repo - name: Copy checksum file into workspace run: |