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
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
|
@ -54,8 +54,10 @@ jobs:
|
||||||
|
|
||||||
- name: Reload AppArmor
|
- name: Reload AppArmor
|
||||||
run: |
|
run: |
|
||||||
sudo systemctl restart apparmor.service || true
|
if ! sudo systemctl restart apparmor.service; then
|
||||||
sudo journalctl -xeu apparmor.service
|
sudo journalctl -xeu apparmor.service
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Show AppArmor log and rules
|
- name: Show AppArmor log and rules
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue