From 20f10ed41269b7a047f7b6e64fde7b55857c458a Mon Sep 17 00:00:00 2001 From: Matt C Date: Thu, 29 Sep 2022 16:13:27 -0400 Subject: [PATCH] Development: update ISO workflow (#26) * we're really smart * packages: add wireguard-tools * Push output to falcon Signed-off-by: Matt C * Forgot about ensuring rsync Signed-off-by: Matt C * Compress iso before upload Signed-off-by: Matt C Signed-off-by: Matt C Co-authored-by: Fries --- .github/workflows/build.yml | 12 ++++++++---- crystal/packages.x86_64 | 1 + 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 188a68a..cb61e8f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,8 +40,13 @@ jobs: if [[ ! "$(ls *.iso)" == "crystal-live-${BUILD_DATE}-x86_64.iso" ]]; then mv *.iso crystal-live-${BUILD_DATE}-x86_64.iso fi + md5sum *.iso > MD5SUM-iso + gzip crystal-live-${BUILD_DATE}-x86_64.iso + + md5sum *.iso.gz > MD5SUM-iso.gz + # Remove chrooted.sh in between operations rm chrooted.sh @@ -52,12 +57,11 @@ jobs: # Set upload name to BUILD_DATE echo "::set-output name=date::${BUILD_DATE}" - - name: Upload uses: ncipollo/release-action@v1 with: - artifacts: "iso/*.iso,iso/MD5SUM-iso,iso/*.tar.gz,iso/MD5SUM-rootfs" + artifacts: "iso/*.iso.gz,iso/MD5SUM-iso*,iso/*.tar.gz,iso/MD5SUM-rootfs" token: ${{ secrets.GITHUB_TOKEN }} - tag: ${{ steps.build.outputs.date }} - + tag: ${{ steps.build.outputs.date }} + diff --git a/crystal/packages.x86_64 b/crystal/packages.x86_64 index 0519fba..7bcf408 100644 --- a/crystal/packages.x86_64 +++ b/crystal/packages.x86_64 @@ -34,6 +34,7 @@ noto-fonts-cjk # Networking openvpn +wireguard-tools # GUI Target firefox