mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-24 22:50:28 +00:00
feat: CI build check for ISOs and fail if missing
This commit is contained in:
parent
7edf953c24
commit
d63cfd8099
1 changed files with 7 additions and 0 deletions
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…
Reference in a new issue