From 04eb3f922ce232188af2a21c51e6198ee5d8d074 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 25 May 2022 10:37:08 +0200 Subject: [PATCH] respect perms --- .github/workflows/ci.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9ee87f9e..760d1532 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,9 +19,10 @@ jobs: useradd -m githubuser echo -e "root ALL=(ALL:ALL) ALL\ngithubuser ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers - - name: Get yay + - name: Build wlroots run: | - su githubuser -c "git clone https://gitlab.freedesktop.org/wlroots/wlroots && cd wlroots && meson build/ && ninja -C build/ && sudo ninja -C build/ install && cd .." + su githubuser -c "cd ~ && git clone https://gitlab.freedesktop.org/wlroots/wlroots" + su githubuser -c "cd ~/wlroots && meson build/ && ninja -C build/ && sudo ninja -C build/ install && cd .." - name: Fix permissions for git run: |