xcvbtdf
All checks were successful
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-rootfs-archives (push) Successful in 8m50s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / push-archives-to-repo (push) Successful in 1m3s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Has been skipped
All checks were successful
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-rootfs-archives (push) Successful in 8m50s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / push-archives-to-repo (push) Successful in 1m3s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Has been skipped
This commit is contained in:
@@ -41,17 +41,21 @@ jobs:
|
|||||||
|
|
||||||
- name: Calculate SHA256 checksums
|
- name: Calculate SHA256 checksums
|
||||||
run: |
|
run: |
|
||||||
|
echo "[DEBUG] Current working directory: $(pwd)"
|
||||||
|
find . -name 'debian-*.tar.bz2' -ls
|
||||||
|
|
||||||
rm -f sha256sums.txt
|
rm -f sha256sums.txt
|
||||||
|
shopt -s nullglob
|
||||||
for tarball in */debian-*.tar.bz2; do
|
for tarball in */debian-*.tar.bz2; do
|
||||||
if [[ -f "$tarball" ]]; then
|
echo "[INFO] Processing: $tarball"
|
||||||
checksum=$(sha256sum "$tarball" | awk '{print $1}')
|
checksum=$(sha256sum "$tarball" | awk '{print $1}')
|
||||||
echo "$checksum $tarball" >> sha256sums.txt
|
echo "$checksum $tarball" >> sha256sums.txt
|
||||||
echo "[INFO] SHA256 for $tarball: $checksum"
|
echo "[INFO] SHA256 for $tarball: $checksum"
|
||||||
else
|
|
||||||
echo "[WARN] File not found: $tarball"
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo "[DEBUG] Contents of sha256sums.txt:"
|
||||||
|
cat sha256sums.txt
|
||||||
|
|
||||||
- name: List output archives
|
- name: List output archives
|
||||||
run: |
|
run: |
|
||||||
echo "[INFO] Looking for tarballs in workspace..."
|
echo "[INFO] Looking for tarballs in workspace..."
|
||||||
@@ -68,7 +72,13 @@ jobs:
|
|||||||
run: git clone "${{ env.REPO_URL }}" upload-repo
|
run: git clone "${{ env.REPO_URL }}" upload-repo
|
||||||
|
|
||||||
- name: Copy sha256sums.txt to upload-repo
|
- name: Copy sha256sums.txt to upload-repo
|
||||||
run: cp sha256sums.txt upload-repo/
|
run: |
|
||||||
|
if [[ -f sha256sums.txt ]]; then
|
||||||
|
cp sha256sums.txt upload-repo/
|
||||||
|
else
|
||||||
|
echo "[ERROR] sha256sums.txt not found"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
push-archives-to-repo:
|
push-archives-to-repo:
|
||||||
needs: build-rootfs-archives
|
needs: build-rootfs-archives
|
||||||
|
|||||||
Reference in New Issue
Block a user