fghfdghfdgh
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-rootfs-archives (push) Successful in 11m34s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Failing after 43s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Successful in 2m28s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Failing after 1m0s
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-rootfs-archives (push) Successful in 11m34s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Failing after 43s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Successful in 2m28s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Failing after 1m0s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user