Skip to content

Commit 353f8f5

Browse files
committed
fix
1 parent 58da5c6 commit 353f8f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build_default.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ jobs:
128128
for i in {1..3}; do
129129
if curl -w "(DL) <== %{url}\n" -qfsSL "https://dl-cdn.alpinelinux.org/alpine/edge/releases/loongarch64/${ROOTFS_FILE}" -o "/tmp/alpine-minirootfs-loongarch64.tar.gz"; then
130130
if tar -tzf "/tmp/alpine-minirootfs-loongarch64.tar.gz" &>/dev/null; then
131+
echo "/tmp/alpine-minirootfs-loongarch64.tar.gz" | xargs -I "{}" bash -c \
132+
'printf "\nFile: $(basename {})\n Type: $(file -b {})\n B3sum: $(b3sum {} | cut -d" " -f1)\n SHA256sum: $(sha256sum {} | cut -d" " -f1)\n Size: $(du -bh {} | cut -f1)\n"'
131133
break
132134
else
133135
echo "Invalid tar archive, retrying... ($i/3)"

0 commit comments

Comments
 (0)