mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-06-03 22:34:46 +00:00
feat: CI build check for ISOs and fail if missing
This commit is contained in:
parent
7edf953c24
commit
d63cfd8099
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user