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