Skip to content

Commit

Permalink
try logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sverrejb committed Mar 11, 2024
1 parent ffd1d35 commit 3a1d8f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/take_screenshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
CARGO_TERM_COLOR: always
DISPLAY: :0
SLINT_FULLSCREEN: 1
RUST_LOG: debug

jobs:
build:
Expand Down Expand Up @@ -50,8 +51,8 @@ jobs:
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 15
cargo run --release > cargo.log 2>&1 &
sleep 30
scrot -o screenshot.png
- name: Commit and push screenshot
Expand Down

0 comments on commit 3a1d8f4

Please sign in to comment.