From d02b81c3097d5fe1b733b8a31087f9801d98d8a8 Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 19 Jan 2025 13:34:48 -0800 Subject: [PATCH] Update .forgejo/workflows/build.yml --- .forgejo/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index b55d478..8dc5b5b 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -16,7 +16,7 @@ jobs: - name: Install dependencies run: apt install python3-gi python3-gi-cairo python3-sweecrypt gir1.2-gtk-3.0 openbox tightvncserver x11-apps imagemagick -y - name: Start an X11 server - run: vncserver-start :5 + run: USER=root vncserver :5 - name: Start openbox run: DISPLAY=:5 openbox & - name: Start the app @@ -30,7 +30,7 @@ jobs: with: path: screenshot.jpg - name: Stop the X11 server - run: vncserver-stop :5 + run: pkill vncserver apt: name: Build Debian Package runs-on: docker