From 92da25b162bbdafd09cbf9710aad6b69d8873ee2 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Fri, 15 Mar 2024 18:19:13 -0300 Subject: [PATCH] Update .forgejo/workflows/test.yaml --- .forgejo/workflows/test.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index 3089a92..95f1576 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -24,6 +24,12 @@ jobs: - name: Checkout code uses: https://code.forgejo.org/actions/checkout@v3 + - name: xd + run: | + useradd -d /build -m build + echo 'build ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers + su build -c "mkdir -p ./build" + - name: Build package run: | export PKGDEST=${PKGDEST}