diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index f807657..9cde2fe 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -26,7 +26,7 @@ jobs: - name: Wait 5 secs run: sleep 5 - name: Take a screenshot - run: xwd -root -display :5 | convert - jpg:- > screenshot.jpg + run: DISPLAY=:5 xwd -root | convert - jpg:- > screenshot.jpg - name: Upload screenshot uses: actions/upload-artifact@v3 with: