test build info update & changelog 2
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-rootfs-archives (push) Successful in 12m46s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Successful in 1m26s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Successful in 2m51s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Failing after 1m4s

This commit is contained in:
2025-07-09 11:10:48 -07:00
parent 7b45056733
commit 62740274c9

View File

@@ -237,15 +237,21 @@ jobs:
- name: Prepare temporary build-info workspace - name: Prepare temporary build-info workspace
run: mkdir -p buildinfo run: mkdir -p buildinfo
- name: Copy sha256sums.txt if available - name: Clone upload repo
run: | run: |
if [[ -f ../sha256sums.txt ]]; then GIT_CREDENTIAL="${{ secrets.GIT_TOKEN || secrets.GIT_PASSWORD }}"
cp ../sha256sums.txt buildinfo/ git clone --depth=1 "https://${{ env.GIT_USERNAME }}:${GIT_CREDENTIAL}@gitea.fithwum.tech/fithwum/debian-base.git" upload-repo
- name: Copy sha256sums.txt
run: |
if [[ -f upload-repo/sha256sums.txt ]]; then
cp upload-repo/sha256sums.txt buildinfo/
else else
echo "[ERROR] sha256sums.txt missing!" echo "[ERROR] sha256sums.txt missing in upload-repo!"
exit 1 exit 1
fi fi
- name: Generate build-info.json files - name: Generate build-info.json files
run: | run: |
human_size() { human_size() {