ci: ensure failing compiling the profile fail the job.

This commit is contained in:
Alexandre Pujol 2025-05-27 00:29:35 +02:00
parent 0886c7bc85
commit 11f3529530
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC

View file

@ -54,8 +54,10 @@ jobs:
- name: Reload AppArmor
run: |
sudo systemctl restart apparmor.service || true
sudo journalctl -xeu apparmor.service
if ! sudo systemctl restart apparmor.service; then
sudo journalctl -xeu apparmor.service
exit 1
fi
- name: Show AppArmor log and rules
run: |