From f870158a0c5d704d04e3b4591ae30662f1c0c040 Mon Sep 17 00:00:00 2001 From: Arsenic Blood <127725014+GutPuncher@users.noreply.github.com> Date: Wed, 6 Mar 2024 22:52:08 -0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 335d4b2c..838cc814 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build Application +name: Build ZealOS ISOs on: push: @@ -33,21 +33,21 @@ jobs: sudo apt-get -y update sudo apt-get -y install build-essential git xorriso qemu-system-x86 - - name: Enable KVM group perms + - name: Enable KVM Group Perms run: | echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules sudo udevadm control --reload-rules sudo udevadm trigger --name-match=kvm - - name: Build ISOs + - name: Run ISOs Build Script if: ${{ success() }} run: | cd build ./build-iso.sh --headless cd .. - - name: Releasing latest - if: ${{ success() }} + - name: Releasing Latest ISOs + if: ${{ success() && github.event_name = 'push'}} uses: "GutPuncher/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" @@ -55,5 +55,8 @@ jobs: prerelease: false title: "Pre-Built ISOs [${{ github.sha }}]" files: ./build/*.iso - if-no-files-found: error + - name: OK + if: ${{ success() }} + run: | + echo "Build OK"