Skip to content

Commit 40f5d8d

Browse files
committed
Attempt to fix Chrome execution
1 parent 0a62d7c commit 40f5d8d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/dotnetCi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ jobs:
6868
with:
6969
java-version: 21
7070
distribution: 'zulu'
71+
# See https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
72+
- name: Disable AppArmor restrictions so Chrome may run
73+
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
7174
- name: Start an Xvfb display so Chrome may run
7275
run: Xvfb -ac $DISPLAY -screen 0 1280x1024x16 &
7376

0 commit comments

Comments
 (0)