Update .forgejo/workflows/build.yml
This commit is contained in:
parent
deea8a1bd6
commit
06dad0330c
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue