From 06dad0330c8ec8e05928cc9ac0587fc6ffaf73bf Mon Sep 17 00:00:00 2001 From: swee Date: Mon, 20 Jan 2025 19:01:41 -0800 Subject: [PATCH] Update .forgejo/workflows/build.yml --- .forgejo/workflows/build.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 737baf1..248a3ab 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -25,7 +25,7 @@ jobs: steps: - uses: https://git.swee.codes/swee/setup-alpine@main with: - additional: tigervnc py3-gobject3 py3-xdg py3-pip gtk+3.0 openbox scrot + additional: tigervnc py3-gobject3 py3-xdg py3-pip gtk+3.0 apk-gtk3 openbox scrot - uses: actions/checkout@v4 - name: Install dependencies run: pip install --break-system-packages sweecrypt @@ -33,21 +33,16 @@ jobs: run: echo -e "sweecrypt\nsweecrypt\n" | vncpasswd - name: Start an X11 server run: USER=root vncserver :5 & - #- name: Start openbox - # run: DISPLAY=:5 openbox --replace * - name: Start the app run: DISPLAY=:5 python3 sweecrypt-gtk.py & - name: Wait 5 secs run: sleep 5 - name: Take a screenshot run: DISPLAY=:5 scrot screenshot.png - - name: Upload screenshot uses: actions/upload-artifact@v3 with: path: screenshot.png - - name: Stop the X11 server - run: pkill vncserver apt: name: Build Debian Package runs-on: docker