diff --git a/.github/workflows/take_screenshot.yml b/.github/workflows/take_screenshot.yml index 1ead06d..f753c5f 100644 --- a/.github/workflows/take_screenshot.yml +++ b/.github/workflows/take_screenshot.yml @@ -49,8 +49,9 @@ jobs: run: | Xvfb :0 -screen 0 768x1024x24 > /dev/null 2>&1 & sleep 5 # Add a delay to give Xvfb time to start + cargo build --release cargo run --release & - sleep 5 + sleep 15 scrot -o screenshot.png - name: Commit and push screenshot