ci: ensure failing compiling the profile fail the job.
This commit is contained in:
parent
0886c7bc85
commit
11f3529530
1 changed files with 4 additions and 2 deletions
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue