fix iso generation in gitea actions
Build NixOS ISOs / build-iso (ender-ml) (push) Failing after 23s
Build NixOS ISOs / build-iso (armaros) (push) Failing after 11m31s
Build NixOS ISOs / build-iso (eva-01) (push) Failing after 9m1s
Build NixOS ISOs / build-iso (buildbox) (push) Successful in 6m2s

This commit is contained in:
2026-06-02 00:51:22 -04:00
parent 9fd8ebb7c7
commit 3a74529a20
+3 -6
View File
@@ -83,12 +83,9 @@ jobs:
split -b 200M -d -a 3 "$ISO_DEST" "${ISO_DEST}.part-" split -b 200M -d -a 3 "$ISO_DEST" "${ISO_DEST}.part-"
sha256sum "$ISO_DEST" > "${ISO_DEST}.sha256" sha256sum "$ISO_DEST" > "${ISO_DEST}.sha256"
rm "$ISO_DEST" rm "$ISO_DEST"
cat > "iso-result/artifact/README.txt" <<EOF printf "Reassemble:\n cat %s.part-* > %s\nVerify:\n sha256sum -c %s.sha256\n" \
Reassemble: "$ISO_BASENAME" "$ISO_BASENAME" "$ISO_BASENAME" \
cat ${ISO_BASENAME}.part-* > ${ISO_BASENAME} > "iso-result/artifact/README.txt"
Verify:
sha256sum -c ${ISO_BASENAME}.sha256
EOF
else else
sha256sum "$ISO_DEST" > "${ISO_DEST}.sha256" sha256sum "$ISO_DEST" > "${ISO_DEST}.sha256"
fi fi