feat: CI build check for ISOs and fail if missing

This commit is contained in:
GutPuncher 2024-03-11 02:05:24 -04:00
parent 7edf953c24
commit d63cfd8099
No known key found for this signature in database
GPG key ID: 38CE0A7B6841D1C7

View file

@ -40,12 +40,19 @@ jobs:
sudo udevadm trigger --name-match=kvm
- name: Run ISOs Build Script
timeout-minutes: 10
if: ${{ success() }}
run: |
cd build
./build-iso.sh --headless
cd ..
- name: ISO Check
if: ${{ success() && hashFiles('./build/*.iso') == '' }}
run: |
echo "ISOs not built!"
exit 1
- name: Releasing Latest ISOs
if: ${{ success() && github.event_name == 'push'}}
uses: "GutPuncher/action-automatic-releases@latest"