From 336df07b389913bb19909f9c6c6d67a0d18f2bcc Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 19 Jan 2025 14:00:03 -0800 Subject: [PATCH] Update .forgejo/workflows/build.yml --- .forgejo/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: