diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 297d9ac..6944367 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -35,9 +35,30 @@ jobs: echo Version is $VER echo "::set-output name=tag::${VER}" - - name: Upload iso artifact + - name: Upload iso artifact part 1 uses: actions/upload-artifact@v2 with: - name: mbp-ubuntu-${{ steps.tag.outputs.tag }} - path: ${{ github.workspace }}/*.iso + name: mbp-ubuntu-${{ steps.tag.outputs.tag }}.z01 + path: ${{ github.workspace }}/output/livecd-${{ steps.tag.outputs.tag }}-mbp.z01 + + - name: Upload iso artifact part 2 + uses: actions/upload-artifact@v2 + with: + name: mbp-ubuntu-${{ steps.tag.outputs.tag }}.z02 + path: ${{ github.workspace }}/output/livecd-${{ steps.tag.outputs.tag }}-mbp.z02 + + - name: Upload iso artifact part 3 + uses: actions/upload-artifact@v2 + with: + name: mbp-ubuntu-${{ steps.tag.outputs.tag }}.z03 + path: ${{ github.workspace }}/output/livecd-${{ steps.tag.outputs.tag }}-mbp.z03 + + - name: Upload iso artifact part 4 + uses: actions/upload-artifact@v2 + with: + name: mbp-ubuntu-${{ steps.tag.outputs.tag }}.zip + path: ${{ github.workspace }}/output/livecd-${{ steps.tag.outputs.tag }}-mbp.zip + + - name: Instructions for putting it back together + run: echo cat livecd-${{ steps.tag.outputs.tag }}-mbp.z01 livecd-${{ steps.tag.outputs.tag }}-mbp.z02 livecd-${{ steps.tag.outputs.tag }}-mbp.z03 livecd-${{ steps.tag.outputs.tag }}-mbp.zip diff --git a/build.sh b/build.sh index 708b5cc..1598463 100755 --- a/build.sh +++ b/build.sh @@ -79,7 +79,7 @@ do fi ### Zip iso and split it into multiple parts - github max size of release attachment is 2GB, where ISO is sometimes bigger than that cd "${ROOT_PATH}" - zip -s 1500m "${ROOT_PATH}/output/livecd-${KERNEL_VERSION}-${ALTERNATIVE}.zip" "${ROOT_PATH}/ubuntu-20.04-${KERNEL_VERSION}-${ALTERNATIVE}.iso" + zip -s 500m "${ROOT_PATH}/output/livecd-${KERNEL_VERSION}-${ALTERNATIVE}.zip" "${ROOT_PATH}/ubuntu-20.04-${KERNEL_VERSION}-${ALTERNATIVE}.iso" done ### Calculate sha256 sums of built ISO sha256sum "${ROOT_PATH}"/*.iso >"${ROOT_PATH}/output/sha256"