From 33d4aaeb1bdd7fa70445ddb4c21c095c86e36a3f Mon Sep 17 00:00:00 2001 From: rogueking Date: Thu, 18 Jun 2026 00:14:59 -0400 Subject: [PATCH] fix iso --- .gitea/workflows/iso-builder.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.gitea/workflows/iso-builder.yml b/.gitea/workflows/iso-builder.yml index 476c850..e9961bb 100644 --- a/.gitea/workflows/iso-builder.yml +++ b/.gitea/workflows/iso-builder.yml @@ -100,20 +100,7 @@ jobs: cp "$ISO_SRC" "$ISO_DEST" # Emit sha256 as a separate file and print to log sha256sum "$ISO_DEST" | tee "${ISO_DEST}.sha256" - - SIZE=$(stat -c%s "$ISO_DEST") - if [ "$SIZE" -gt 240000000 ]; then - echo "ISO is $SIZE bytes; splitting into 200MB parts for artifact upload." - split -b 200M -d -a 3 "$ISO_DEST" "${ISO_DEST}.part-" - sha256sum "$ISO_DEST" > "${ISO_DEST}.sha256" - rm "$ISO_DEST" - printf "Reassemble:\n cat %s.part-* > %s\nVerify:\n sha256sum -c %s.sha256\n" \ - "$ISO_BASENAME" "$ISO_BASENAME" "$ISO_BASENAME" \ - > "iso-result/artifact/README.txt" - else - sha256sum "$ISO_DEST" > "${ISO_DEST}.sha256" - fi - + - name: Upload ${{ matrix.host }} ISO artifact if: ${{ github.event_name != 'workflow_dispatch' || inputs.upload-artifact }} uses: actions/upload-artifact@v3