From f0945fef20ac41544c838aceeff5ae905d50abb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sverre=20Johann=20Bj=C3=B8rke?= Date: Mon, 11 Mar 2024 22:50:04 +0100 Subject: [PATCH] display 0 damnit --- .github/workflows/take_screenshot.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/take_screenshot.yml b/.github/workflows/take_screenshot.yml index 052d024..6bd7cd2 100644 --- a/.github/workflows/take_screenshot.yml +++ b/.github/workflows/take_screenshot.yml @@ -46,11 +46,13 @@ jobs: sudo apt-get update sudo apt-get install -y xvfb x11vnc scrot imagemagick libxkbcommon-x11-0 + - name: Build + run: cargo build --release + - name: Start Xvfb run: | - xvnc -geometry 1024x768 -depth 16 :10 > /dev/null 2>&1 & + xvnc -geometry 1024x768 -depth 16 :0 > /dev/null 2>&1 & sleep 5 - cargo build --release cargo run --release > cargo.log 2>&1 & sleep 30 cat cargo.log