Skip to content

Commit 1d4321e

Browse files
committed
github: fix sudo ninja install
In GitHub actions our build doesn't run as root. So we need a sudo for the ninja install step. Fixes: 55e4d65 Signed-off-by: Patrick Bruenn <[email protected]>
1 parent ef56c7e commit 1d4321e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
run: sudo apt update -y && sudo apt install -y meson
99
- uses: actions/checkout@v2
1010
- name: compile library
11-
run: meson build && ninja -C build && ninja -C build install
11+
run: meson build && ninja -C build && sudo ninja -C build install
1212
- name: compile example
1313
run: meson example/build example && ninja -C example/build
1414
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)